org.eclipse.persistence.sdo.types
Class SDODataType
java.lang.Object
org.eclipse.persistence.sdo.SDOType
org.eclipse.persistence.sdo.types.SDODataType
- All Implemented Interfaces:
- commonj.sdo.Type, java.io.Serializable
public class SDODataType
- extends SDOType
- implements commonj.sdo.Type
- See Also:
- Serialized Form
Constructor Summary |
SDODataType(java.lang.String aUri,
java.lang.String aName,
java.lang.Class aClass,
SDOTypeHelper sdoTypeHelper)
|
SDODataType(java.lang.String aUri,
java.lang.String aName,
java.lang.Class aClass,
SDOTypeHelper sdoTypeHelper,
java.lang.Object aPseudoDefault)
|
SDODataType(java.lang.String aUri,
java.lang.String aName,
SDOTypeHelper sdoTypeHelper)
|
Method Summary |
protected void |
addOpenMappings()
|
java.lang.Object |
getPseudoDefault()
INTERNAL:
Return the wrapped initial value for the primitive numeric (when not defined)
See p.45 of Java Spec 4th edition. |
boolean |
isAbstract()
|
boolean |
isDataType()
|
boolean |
isInstance(java.lang.Object object)
|
boolean |
isOpen()
|
boolean |
isSequenced()
|
void |
setOpen(boolean bOpen)
INTERNAL:
Make this Type an opened Type to allow open content by assigning true value
or a Type not to accept any additional properties by assigning false value,
SDOType.isOpen() . |
Methods inherited from class org.eclipse.persistence.sdo.SDOType |
addAliasName, addBaseType, addDeclaredProperty, addDeclaredProperty, addDeclaredProperty, addDeclaredProperty, equals, 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, isChangeSummaryType, isDataObjectType, isFinalized, isOpenSequencedType, isTypeType, isXsd, isXsdList, postInitialize, preInitialize, removeDeclaredProperties, setAbstract, setAliasNames, setAppInfoElements, setBaseTypes, setDataType, setFinalized, setImplClassName, setInstanceClass, setInstanceClassName, setInstanceProperty, setNonFinalizedMappingURIs, setNonFinalizedReferencingProps, setPropertyValues, setPseudoDefault, setSequenced, setSubTypes, setupInheritance, setXmlDescriptor, setXsd, setXsdList, setXsdLocalName, setXsdType |
Methods inherited from class java.lang.Object |
clone, 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 |
SDODataType
public SDODataType(java.lang.String aUri,
java.lang.String aName,
SDOTypeHelper sdoTypeHelper)
SDODataType
public SDODataType(java.lang.String aUri,
java.lang.String aName,
java.lang.Class aClass,
SDOTypeHelper sdoTypeHelper)
SDODataType
public SDODataType(java.lang.String aUri,
java.lang.String aName,
java.lang.Class aClass,
SDOTypeHelper sdoTypeHelper,
java.lang.Object aPseudoDefault)
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interface commonj.sdo.Type
- Overrides:
isAbstract
in class SDOType
isDataType
public boolean isDataType()
- Specified by:
isDataType
in interface commonj.sdo.Type
- Overrides:
isDataType
in class SDOType
isInstance
public boolean isInstance(java.lang.Object object)
- Specified by:
isInstance
in interface commonj.sdo.Type
- Overrides:
isInstance
in class SDOType
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface commonj.sdo.Type
- Overrides:
isOpen
in class SDOType
isSequenced
public boolean isSequenced()
- Specified by:
isSequenced
in interface commonj.sdo.Type
- Overrides:
isSequenced
in class SDOType
getPseudoDefault
public java.lang.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 class SDOType
- Returns:
- aDefault Object (primitive numerics) or null (DataObjects, String, Lists)
addOpenMappings
protected void addOpenMappings()
setOpen
public void setOpen(boolean bOpen)
- Description copied from class:
SDOType
- INTERNAL:
Make this Type an opened Type to allow open content by assigning true value
or a Type not to accept any additional properties by assigning false value,
SDOType.isOpen()
.
- Overrides:
setOpen
in class SDOType
- Parameters:
bOpen
- boolean value implying if this Type is open