Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.sdo.types
Class SDOWrapperType

java.lang.Object
  extended by org.eclipse.persistence.sdo.SDOType
      extended by org.eclipse.persistence.sdo.types.SDOWrapperType

All Implemented Interfaces:
java.io.Serializable

public class SDOWrapperType
extends SDOType

Wrapper for XML datatypes.

Author:
rbarkhou
See Also:
Serialized Form

Nested Class Summary
static class SDOWrapperType.BooleanObjectWrapperImpl
           
static class SDOWrapperType.BooleanWrapperImpl
           
static class SDOWrapperType.ByteObjectWrapperImpl
           
static class SDOWrapperType.Bytes_hexBunaryWrapperImpl
           
static class SDOWrapperType.BytesWrapperImpl
           
static class SDOWrapperType.ByteWrapperImpl
           
static class SDOWrapperType.CharacterObjectWrapperImpl
           
static class SDOWrapperType.CharacterWrapperImpl
           
static class SDOWrapperType.DateTimeWrapperImpl
           
static class SDOWrapperType.DateWrapperImpl
           
static class SDOWrapperType.DayWrapperImpl
           
static class SDOWrapperType.DecimalWrapperImpl
           
static class SDOWrapperType.DoubleObjectWrapperImpl
           
static class SDOWrapperType.DoubleWrapperImpl
           
static class SDOWrapperType.DurationWrapperImpl
           
static class SDOWrapperType.FloatObjectWrapperImpl
           
static class SDOWrapperType.FloatWrapperImpl
           
static class SDOWrapperType.IntegerWrapperImpl
           
static class SDOWrapperType.IntObjectWrapperImpl
           
static class SDOWrapperType.IntWrapperImpl
           
static class SDOWrapperType.LongObjectWrapperImpl
           
static class SDOWrapperType.LongWrapperImpl
           
static class SDOWrapperType.MonthDayWrapperImpl
           
static class SDOWrapperType.MonthWrapperImpl
           
static class SDOWrapperType.ObjectWrapperImpl
           
static class SDOWrapperType.ShortObjectWrapperImpl
           
static class SDOWrapperType.ShortWrapperImpl
           
static class SDOWrapperType.StringsWrapperImpl
           
static class SDOWrapperType.StringWrapperImpl
           
static class SDOWrapperType.TimeWrapperImpl
           
static class SDOWrapperType.URI_QNameWrapperImpl
           
static class SDOWrapperType.URIWrapperImpl
           
static class SDOWrapperType.YearMonthDayWrapperImpl
           
static class SDOWrapperType.YearMonthWrapperImpl
           
static class SDOWrapperType.YearWrapperImpl
           

 

Nested classes/interfaces inherited from class org.eclipse.persistence.sdo.SDOType
SDOType.TypeInstantiationPolicy

 

Field Summary
private static java.lang.String ATTRIBUTE_NAME
           
private  java.util.Map<javax.xml.namespace.QName,XMLDescriptor> descriptorsMap
           
private static java.lang.String PACKAGE_NAME
           
private  java.lang.String typeName
           
private static java.lang.String XPATH
           

 

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()
           
 java.util.List getBaseTypes()
           
 java.util.Map getDescriptorsMap()
           
 java.lang.String getName()
           
 java.lang.String getURI()
           
 XMLDescriptor getXmlDescriptor(javax.xml.namespace.QName aQName)
           
private  void initializeDescriptor(XMLDescriptor aDescriptor, javax.xml.namespace.QName aQName, Type aPropertyType, SDOProperty aValueProperty)
           
 boolean isAbstract()
           
 boolean isDataType()
           
 boolean isFinalized()
          INTERNAL:
 boolean isOpen()
           
 boolean isSequenced()
           
 boolean isWrapperType()
           
private  void setSchemaContext(XMLDescriptor desc, javax.xml.namespace.QName schemaType)
          Convenience method that sets a schema context (as QName) on a given descriptor.
 java.lang.String toString()
           

 

Methods inherited from class org.eclipse.persistence.sdo.SDOType
addAliasName, addBaseType, addDeclaredProperty, addDeclaredProperty, get, getAppInfoElements, getAppInfoMap, getChangeSummaryProperty, getDeclaredProperties, getDeclaredPropertiesMap, getHelperContext, getImplClass, getImplClassName, getInstanceClass, getInstanceClassName, getInstanceProperties, getNonFinalizedMappingURIs, getNonFinalizedReferencingProps, getProperties, getPropertiesArray, getProperty, getPropertyValues, getPseudoDefault, getQName, getSubTypes, getXmlDescriptor, getXsdLocalName, getXsdType, initializeNamespaces, isBaseType, isChangeSummaryType, isDataObjectType, isInstance, isOpenSequencedType, isSubType, isTypeType, isXsd, isXsdList, postInitialize, preInitialize, removeDeclaredProperties, setAbstract, setAliasNames, setAppInfoElements, setBaseTypes, setDataType, setFinalized, setImplClassName, setInstanceClass, setInstanceClassName, setInstanceProperty, setMixed, setNonFinalizedMappingURIs, setNonFinalizedReferencingProps, setOpen, setPropertyValues, setPseudoDefault, setQName, setSequenced, setSubTypes, setupInheritance, setXmlDescriptor, setXsd, setXsdList, setXsdLocalName, setXsdType

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

PACKAGE_NAME

private static final java.lang.String PACKAGE_NAME
See Also:
Constant Field Values

ATTRIBUTE_NAME

private static final java.lang.String ATTRIBUTE_NAME
See Also:
Constant Field Values

XPATH

private static final java.lang.String XPATH
See Also:
Constant Field Values

typeName

private java.lang.String typeName

descriptorsMap

private java.util.Map<javax.xml.namespace.QName,XMLDescriptor> descriptorsMap

Constructor Detail

SDOWrapperType

public SDOWrapperType(Type aPropertyType,
                      java.lang.String aTypeName,
                      SDOTypeHelper aSDOTypeHelper)

SDOWrapperType

public SDOWrapperType(Type aPropertyType,
                      java.lang.String aTypeName,
                      SDOTypeHelper aSDOTypeHelper,
                      javax.xml.namespace.QName aSchemaType)

SDOWrapperType

public SDOWrapperType(Type aPropertyType,
                      java.lang.String aTypeName,
                      SDOTypeHelper aSDOTypeHelper,
                      javax.xml.namespace.QName aSchemaType,
                      java.lang.Class<? extends SDODataObject> implClass)

SDOWrapperType

public SDOWrapperType(Type aPropertyType,
                      java.lang.String aTypeName,
                      SDOTypeHelper aSDOTypeHelper,
                      javax.xml.namespace.QName[] schemaTypes)

SDOWrapperType

public SDOWrapperType(Type aPropertyType,
                      java.lang.String aTypeName,
                      SDOTypeHelper aSDOTypeHelper,
                      javax.xml.namespace.QName[] schemaTypes,
                      java.lang.Class<? extends SDODataObject>[] implClasses)

Method Detail

setSchemaContext

private void setSchemaContext(XMLDescriptor desc,
                              javax.xml.namespace.QName schemaType)
Convenience method that sets a schema context (as QName) on a given descriptor. If either schemaType or desc is null, no action is performed.
Parameters:
desc - XML descriptor to which an XMLSchemaReference will be added
schemaType - QName that will be set as the schema context QName

initializeDescriptor

private void initializeDescriptor(XMLDescriptor aDescriptor,
                                  javax.xml.namespace.QName aQName,
                                  Type aPropertyType,
                                  SDOProperty aValueProperty)

getXmlDescriptor

public XMLDescriptor getXmlDescriptor(javax.xml.namespace.QName aQName)

getDescriptorsMap

public java.util.Map getDescriptorsMap()

addDescriptorToProject

public void addDescriptorToProject(Project project)

getAliasNames

public java.util.List getAliasNames()
Overrides:
getAliasNames in class SDOType

getBaseTypes

public java.util.List getBaseTypes()
Overrides:
getBaseTypes in class SDOType

getName

public java.lang.String getName()
Overrides:
getName in class SDOType

getURI

public java.lang.String getURI()
Overrides:
getURI in class SDOType

isAbstract

public boolean isAbstract()
Overrides:
isAbstract in class SDOType

isDataType

public boolean isDataType()
Overrides:
isDataType in class SDOType

isOpen

public boolean isOpen()
Overrides:
isOpen in class SDOType

isSequenced

public boolean isSequenced()
Overrides:
isSequenced in class SDOType

isFinalized

public boolean isFinalized()
Description copied from class: SDOType
INTERNAL:
Overrides:
isFinalized in class SDOType

isWrapperType

public boolean isWrapperType()
Overrides:
isWrapperType in class SDOType

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.