nl.tudelft.simulation.language.reflection
Class SerializableConstructor

java.lang.Object
  extended by nl.tudelft.simulation.language.reflection.SerializableConstructor
All Implemented Interfaces:
Serializable

public class SerializableConstructor
extends Object
implements Serializable

A SerializableConstructor.

(c) copyright 2002-2005 Delft University of Technology , the Netherlands.

See for project information www.simulation.tudelft.nl/language
License of use: Lesser General Public License (LGPL) , no warranty

Since:
1.3
Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:25:54 $
Author:
Peter Jacobs
See Also:
Serialized Form

Constructor Summary
SerializableConstructor(Class clazz, Class[] parameterTypes)
          constructs a new SerializableConstructor
SerializableConstructor(Constructor constructor)
          constructs a new SerializableConstructor
 
Method Summary
 Constructor deSerialize()
          deserializes the field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableConstructor

public SerializableConstructor(Constructor constructor)
constructs a new SerializableConstructor

Parameters:
constructor - The constructor

SerializableConstructor

public SerializableConstructor(Class clazz,
                               Class[] parameterTypes)
                        throws NoSuchMethodException
constructs a new SerializableConstructor

Parameters:
clazz - the clazz this field is instance of
parameterTypes - the parameterTypes of the constructor
Throws:
NoSuchMethodException - whenever the method is not defined in clazz
Method Detail

deSerialize

public Constructor deSerialize()
deserializes the field

Returns:
the Constructor


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.