|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sdo.SDOType org.eclipse.persistence.sdo.types.SDOWrapperType
public class SDOWrapperType
Wrapper for XML datatypes.
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 | |
---|---|
SDOWrapperType(Type aPropertyType,
java.lang.String aTypeName,
SDOTypeHelper aSDOTypeHelper)
|
|
SDOWrapperType(Type aPropertyType,
java.lang.String aTypeName,
SDOTypeHelper aSDOTypeHelper,
javax.xml.namespace.QName aSchemaType)
|
|
SDOWrapperType(Type aPropertyType,
java.lang.String aTypeName,
SDOTypeHelper aSDOTypeHelper,
javax.xml.namespace.QName[] schemaTypes)
|
|
SDOWrapperType(Type aPropertyType,
java.lang.String aTypeName,
SDOTypeHelper aSDOTypeHelper,
javax.xml.namespace.QName[] schemaTypes,
java.lang.Class<? extends SDODataObject>[] implClasses)
|
|
SDOWrapperType(Type aPropertyType,
java.lang.String aTypeName,
SDOTypeHelper aSDOTypeHelper,
javax.xml.namespace.QName aSchemaType,
java.lang.Class<? extends SDODataObject> implClass)
|
Method Summary | |
---|---|
void |
addDescriptorToProject(Project project)
|
java.util.List |
getAliasNames()
Return a list of alias names for this Type. |
java.util.List |
getBaseTypes()
Returns the List of base Types for this Type. |
java.util.Map |
getDescriptorsMap()
|
java.lang.String |
getName()
Returns the name of the type. |
java.lang.String |
getURI()
Returns the namespace URI of the type or null if the type has no URI
(for example it was generated from a Schema with no target namespace). |
XMLDescriptor |
getXmlDescriptor(javax.xml.namespace.QName aQName)
|
boolean |
isAbstract()
Indicates if this Type is abstract. |
boolean |
isDataType()
Indicates if this Type specifies DataTypes (true) or DataObjects (false). |
boolean |
isFinalized()
INTERNAL: |
boolean |
isOpen()
Indicates if this Type allows any form of open content. |
boolean |
isSequenced()
Indicates if this Type specifies Sequenced DataObjects. |
boolean |
isWrapperType()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface commonj.sdo.Type |
---|
get, getDeclaredProperties, getInstanceClass, getInstanceProperties, getProperties, getProperty, isInstance |
Constructor Detail |
---|
public SDOWrapperType(Type aPropertyType, java.lang.String aTypeName, SDOTypeHelper aSDOTypeHelper)
public SDOWrapperType(Type aPropertyType, java.lang.String aTypeName, SDOTypeHelper aSDOTypeHelper, javax.xml.namespace.QName aSchemaType)
public SDOWrapperType(Type aPropertyType, java.lang.String aTypeName, SDOTypeHelper aSDOTypeHelper, javax.xml.namespace.QName aSchemaType, java.lang.Class<? extends SDODataObject> implClass)
public SDOWrapperType(Type aPropertyType, java.lang.String aTypeName, SDOTypeHelper aSDOTypeHelper, javax.xml.namespace.QName[] schemaTypes)
public SDOWrapperType(Type aPropertyType, java.lang.String aTypeName, SDOTypeHelper aSDOTypeHelper, javax.xml.namespace.QName[] schemaTypes, java.lang.Class<? extends SDODataObject>[] implClasses)
Method Detail |
---|
public XMLDescriptor getXmlDescriptor(javax.xml.namespace.QName aQName)
public java.util.Map getDescriptorsMap()
public void addDescriptorToProject(Project project)
public java.util.List getAliasNames()
Type
getAliasNames
in interface Type
getAliasNames
in class SDOType
public java.util.List getBaseTypes()
Type
getBaseTypes
in interface Type
getBaseTypes
in class SDOType
public java.lang.String getName()
Type
getName
in interface Type
getName
in class SDOType
public java.lang.String getURI()
Type
null
if the type has no URI
(for example it was generated from a Schema with no target namespace).
getURI
in interface Type
getURI
in class SDOType
public boolean isAbstract()
Type
isAbstract
in interface Type
isAbstract
in class SDOType
public boolean isDataType()
Type
isInstance(object) && !isDataType() implies DataObject.class.isInstance(object) returns true.
isDataType
in interface Type
isDataType
in class SDOType
public boolean isOpen()
Type
isOpen
in interface Type
isOpen
in class SDOType
public boolean isSequenced()
Type
Sequence elements = dataObject.getSequence
();
isSequenced
in interface Type
isSequenced
in class SDOType
public boolean isFinalized()
SDOType
isFinalized
in class SDOType
public boolean isWrapperType()
isWrapperType
in class SDOType
public java.lang.String toString()
toString
in class java.lang.Object
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |