Annotation Interface GenAsObjectMappable
properties() are to be persisted as columns in any
persistent class which includes it as a GeneratedProperty. Annotated classes
automatically implement ObjectMappable.
Note: ObjectMappables are traditionally referred to as cookies and are often
given names ending in Info, like PersistInfo.
Supported API: true
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintReplaces the mechanism of usingDepthLockinterfaces to force a specific depth for a given interface or class.Derived properties of thisObjectMappable.booleanIndicates whether this class is supported for customization.Class[]The interfaces this class/interface extends/implements.Properties of thisObjectMappable.Indicates how the annotated class should be serialized.The parent class for this class.long[]A list of externalization version UIDs needed to support deserialization of old versions of this class.
-
Element Details
-
superClass
Class superClassThe parent class for this class. This class would normally be the class designated by theextendsstatement and is needed because the annotated class must extend "_"+classname" (for examplepublic MyClass extends _MyClass).Note: the parent should either be
Object(which is the default) or some abstract/concrete class that implementsObjectMappable, likeObjectReference.Rose conversion note: Corresponds to Class Specification -> Relations -> Specialize Class (where the specialized class is the single (non-interface) parent class).
Supported API: true
- Default:
- java.lang.Object.class
-
interfaces
Class[] interfacesThe interfaces this class/interface extends/implements. These interfaces would normally be present in theextendsclause (for an interface) or theimplementsclause (for a class), but must, instead, be present in this property because of the manner in whichJavatreatsstatic finalfields.Rose conversion note: Corresponds to Class Specification -> Relations -> Specialize Class (where the specialized class is the single (non-interface) parent class).
Supported API: true
- Default:
- {}
-
properties
GeneratedProperty[] propertiesProperties of thisObjectMappable. Typically, primitives (strings, ints, longs) and otherObjectMappables (including references).Rose conversion note: Corresponds to Class Specification -> Attributes.
Supported API: true
- Default:
- {}
-
derivedProperties
DerivedProperty[] derivedPropertiesDerived properties of thisObjectMappable. May refer to any of the properties (GeneratedProperty) of thisObjectMappableor interfaces/parent classes.Supported API: true
- Default:
- {}
-
serializable
Serialization serializableIndicates how the annotated class should be serialized.Rose conversion note: Corresponds to Class Specification -> Windchill -> Serializable.
Supported API: true
- Default:
- EXTERNALIZABLE_BASIC
-
extendable
boolean extendableIndicates whether this class is supported for customization. Note that this property is validated during customization compilation: customers will get a compilation error if they attempt to extend a non-extendable class.Supported API: true
- Default:
- false
-
versions
long[] versionsA list of externalization version UIDs needed to support deserialization of old versions of this class.Supported API: true
- Default:
- {}
-
depthLock
int depthLockReplaces the mechanism of usingDepthLockinterfaces to force a specific depth for a given interface or class.Supported API: true
- Default:
- -1
-