Package org.drools.traits.core.factmodel
Class TypeWrapper
- java.lang.Object
-
- org.drools.traits.core.factmodel.TypeWrapper
-
- All Implemented Interfaces:
Externalizable,Serializable
public class TypeWrapper extends Object implements Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeWrapper()TypeWrapper(Class klass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ClassgetKlass()StringgetName()inthashCode()voidreadExternal(ObjectInput in)voidsetKlass(Class klass)StringtoString()voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
TypeWrapper
public TypeWrapper()
-
TypeWrapper
public TypeWrapper(Class klass)
-
-
Method Detail
-
getKlass
public Class getKlass()
-
setKlass
public void setKlass(Class klass)
-
getName
public String getName()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-