Class SDOObjectType
- java.lang.Object
-
- org.eclipse.persistence.sdo.SDOType
-
- org.eclipse.persistence.sdo.types.SDOObjectType
-
- All Implemented Interfaces:
Type
,Serializable
public class SDOObjectType extends SDOType implements Type
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.persistence.sdo.SDOType
SDOType.TypeInstantiationPolicy
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.sdo.SDOType
aHelperContext, isDataType, javaImplClass, xmlDescriptor
-
-
Constructor Summary
Constructors Constructor Description SDOObjectType(String aUri, String aName, SDOTypeHelper sdoTypeHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addOpenMappings()
Object
getPseudoDefault()
INTERNAL: Return the wrapped initial value for the primitive numeric (when not defined) See p.45 of Java Spec 4th edition.boolean
isDataType()
Indicates if this Type specifies DataTypes (true) or DataObjects (false).boolean
isSequenced()
Indicates if this Type specifies Sequenced DataObjects.void
setSequenced(boolean isSequenced)
INTERNAL: If set as true, this Type specifies Sequenced DataObjects.-
Methods inherited from class org.eclipse.persistence.sdo.SDOType
addAliasName, addBaseType, addDeclaredProperty, addDeclaredProperty, addDeclaredProperty, addDeclaredProperty, get, getAliasNames, getAppInfoElements, getAppInfoMap, getBaseTypes, getChangeSummaryProperty, getDeclaredProperties, getDeclaredPropertiesMap, getHelperContext, getImplClass, getImplClassName, getInstanceClass, getInstanceClassName, getInstanceProperties, getName, getNonFinalizedMappingURIs, getNonFinalizedReferencingProps, getProperties, getPropertiesArray, getProperty, getPropertyValues, getQName, getSubTypes, getURI, getXmlDescriptor, getXsdLocalName, getXsdType, initializeNamespaces, isAbstract, isBaseType, isChangeSummaryType, isDataObjectType, isFinalized, isInstance, isOpen, isOpenSequencedType, isSubType, isTypeType, isWrapperType, isXsd, isXsdList, postInitialize, preInitialize, removeDeclaredProperties, setAbstract, setAliasNames, setAppInfoElements, setBaseTypes, setDataType, setFinalized, setImplClassName, setInstanceClass, setInstanceClassName, setInstanceProperty, setMixed, setNonFinalizedMappingURIs, setNonFinalizedReferencingProps, setOpen, setPropertyValues, setPseudoDefault, setQName, setSubTypes, setupInheritance, setXmlDescriptor, setXsd, setXsdList, setXsdLocalName, setXsdType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface commonj.sdo.Type
get, getAliasNames, getBaseTypes, getDeclaredProperties, getInstanceClass, getInstanceProperties, getName, getProperties, getProperty, getURI, isAbstract, isInstance, isOpen
-
-
-
-
Constructor Detail
-
SDOObjectType
public SDOObjectType(String aUri, String aName, SDOTypeHelper sdoTypeHelper)
-
-
Method Detail
-
isDataType
public boolean isDataType()
Description copied from interface:Type
Indicates if this Type specifies DataTypes (true) or DataObjects (false). When false, any object that is an instance of this type also implements the DataObject interface. True for simple types such as Strings and numbers. For any object:isInstance(object) && !isDataType() implies DataObject.class.isInstance(object) returns true.
- Specified by:
isDataType
in interfaceType
- Overrides:
isDataType
in classSDOType
- Returns:
- true if Type specifies DataTypes, false for DataObjects.
-
isSequenced
public boolean isSequenced()
Description copied from interface:Type
Indicates if this Type specifies Sequenced DataObjects. Sequenced DataObjects are used when the order of values between Properties must be preserved. When true, a DataObject will return a Sequence. For example,Sequence elements = dataObject.
getSequence
();- Specified by:
isSequenced
in interfaceType
- Overrides:
isSequenced
in classSDOType
- Returns:
- true if this Type specifies Sequenced DataObjects.
-
setSequenced
public void setSequenced(boolean isSequenced)
Description copied from class:SDOType
INTERNAL: If set as true, this Type specifies Sequenced DataObjects.- Overrides:
setSequenced
in classSDOType
- Parameters:
isSequenced
- boolean value implying if this type is sequenced.
-
getPseudoDefault
public Object getPseudoDefault()
Description copied from class:SDOType
INTERNAL: Return the wrapped initial value for the primitive numeric (when not defined) See p.45 of Java Spec 4th edition. See p.85 Sect 9.3 of the SDO Spec.- Overrides:
getPseudoDefault
in classSDOType
- Returns:
- aDefault Object (primitive numerics) or null (DataObjects, String, Lists)
-
addOpenMappings
protected void addOpenMappings()
-
-