org.kobjects.serialization
Class ElementType
java.lang.Object
|
+--org.kobjects.serialization.ElementType
- Direct Known Subclasses:
- PropertyInfo
- public class ElementType
- extends java.lang.Object
This class encapsulates type information.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_CLASS
public static final java.lang.Class OBJECT_CLASS
STRING_CLASS
public static final java.lang.Class STRING_CLASS
INTEGER_CLASS
public static final java.lang.Class INTEGER_CLASS
LONG_CLASS
public static final java.lang.Class LONG_CLASS
BOOLEAN_CLASS
public static final java.lang.Class BOOLEAN_CLASS
VECTOR_CLASS
public static final java.lang.Class VECTOR_CLASS
OBJECT_TYPE
public static final ElementType OBJECT_TYPE
type
public java.lang.Object type
- Type of the property/elements. Should usually be
an instance of class,
multiRef
public boolean multiRef
- if a property is multi-referenced, set this flag to true.
elementType
public ElementType elementType
- Element type for array properties, null if not array prop.
ElementType
public ElementType()
ElementType
public ElementType(java.lang.Object type)
ElementType
public ElementType(java.lang.Object type,
boolean multiRef,
ElementType elementType)
clear
public void clear()
copy
public void copy(ElementType t2)