org.eclipse.persistence.oxm.mappings
| Modifier and Type | Field and Description |
|---|---|
| private XMLField | |
| private static final Vector | |
| private boolean | |
| private boolean | |
| private boolean | |
| private AttributeAccessor | |
| private NamespaceResolver | |
| private boolean | |
| private XMLSchemaReference | |
| private boolean | |
| private boolean | |
| private static final char |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DatabaseMapping | Returns: The newly created DatabaseMapping is returned.the name of an instance variable of the
class which the receiver describes. attributeName, String the xpath of the xml element or attribute which corresponds
with the designated instance variable. xpathString)Overrides org. |
| public DatabaseMapping | addDirectMapping(String attributeName, String getMethodName, String setMethodName, String xpathString)
Overrides org. |
| public void | addPrimaryKeyField(DatabaseField field)
Overrides org. Implements org. |
| public void | addPrimaryKeyFieldName(String fieldName)
Overrides org. |
| public void | addRootElement(String
a root element to specify on this Descriptor rootElementName)Implements org. |
| public Vector | buildDirectValuesFromFieldValue(Object fieldValue)
Overrides org. |
| public DatabaseField | buildField(String fieldName)
Overrides org. |
| public DatabaseField | buildField(DatabaseField field)
Overrides org. |
| public Object | buildFieldValueFromDirectValues(Vector<E> directValues, String elementDataTypeName, AbstractSession session)
Overrides org. |
| public Object | buildFieldValueFromNestedRows(Vector<E> nestedRows, String structureName, AbstractSession session)
Overrides org. |
| public AbstractRecord | buildNestedRowFromFieldValue(Object fieldValue)
Overrides org. |
| public Vector | buildNestedRowsFromFieldValue(Object fieldValue, AbstractSession session)
Overrides org. |
| public void | convertClassNamesToClasses(ClassLoader classLoader)
Overrides org. |
| protected DatabaseTable | extractDefaultTable()
Overrides org. |
| public String | Returns: the default root element specified on this ClassDescriptorImplements org. |
| public XMLField | |
| public QName | |
| public InheritancePolicy | Returns: the InheritancePolicy associated with this descriptorOverrides org. Implements org. |
| public AttributeAccessor | getLocationAccessor()
Implements org. |
| public NamespaceResolver | Returns: the NamespaceResolver associated with this descriptorImplements org. |
| public NamespaceResolver | |
| public Vector | getPrimaryKeyFieldNames()
Overrides org. Implements org. |
| public XMLSchemaReference | Returns: the SchemaReference associated with this descriptorImplements org. |
| public DatabaseField | getTypedField(DatabaseField field)
Overrides org. Implements org. |
| protected DatabaseField | getTypedField(StringTokenizer stringTokenizer)
Implements abstract org. Implements org. |
| public boolean | hasReferenceMappings()
INTERNAL: Returns true if any of the mappings on this descriptor are key-based reference mappings. |
| public void | initialize(AbstractSession session)
Overrides org. |
| public void | initializeAggregateInheritancePolicy(AbstractSession session)
Overrides org. |
| public boolean | isLazilyInitialized()
Implements org. |
| public boolean | |
| public boolean | isSequencedObject()
Implements org. Indicates if the Object mapped by this descriptor is a sequenced data object and should be marshalled accordingly. |
| public boolean | |
| public boolean | isXMLDescriptor()
Overrides org. |
| public DatabaseMapping | newAggregateCollectionMapping()
Overrides org. |
| public AggregateMapping | newAggregateMapping()
Overrides org. |
| public DatabaseMapping | newDirectCollectionMapping()
Overrides org. |
| public AbstractDirectMapping | newDirectMapping()
Overrides org. |
| public void | postInitialize(AbstractSession session)
Overrides org. |
| public void | preInitialize(AbstractSession session)
Overrides org. |
| protected void | preInitializeInheritancePolicy(AbstractSession session)
Overrides org. |
| public boolean | requiresInitialization(AbstractSession session)
Overrides org. |
| private void | setDeclaredTypeOnXMLRoot(Root xmlRoot, String elementNamespaceUri, String elementLocalName, boolean isNamespaceAware, Unmarshaller<ABSTRACT_SESSION extends CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>>, CONTEXT extends Context<ABSTRACT_SESSION extends CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>>, DESCRIPTOR extends Descriptor<?, ?, ?, ?, ?, NAMESPACE_RESOLVER, ?, ?, ?, ?>, FIELD extends Field, NAMESPACE_RESOLVER extends NamespaceResolver, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION extends CoreSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager>, SESSION_EVENT_LISTENER extends CoreSessionEventListener>, DESCRIPTOR extends Descriptor, ID_RESOLVER extends IDResolver, MEDIA_TYPE extends MediaType, ROOT extends Root, UNMARSHALLER_HANDLER extends UnmarshallerHandler, UNMARSHALLER_LISTENER extends Unmarshaller.
|
| public void | setDefaultRootElement(String
the default root element to specify on this ClassDescriptor newDefaultRootElement)Implements org. |
| private boolean | Returns: true if a new default root element field was created, else false.
|
| public void | |
| public void | setDefaultRootElementType(QName type)
The default root element type string will be stored until initialization - a QName will be created and stored on the default root element field during initialize. |
| public void | |
| public void | setLazilyInitialized(boolean shouldLazyInitiailize)
Specify in the descriptor may be lazily initialized. |
| public void | setLocationAccessor(AttributeAccessor value)
Implements org. |
| public void | setNamespaceResolver(NamespaceResolver
the NamespaceResolver to associate with this descriptor newNamespaceResolver)Implements org. |
| public void | setPrimaryKeyFields(List<DatabaseField> thePrimaryKeyFields)
Overrides org. |
| public void | setResultAlwaysXMLRoot(boolean resultAlwaysXMLRoot)
Implements org. |
| public void | setSchemaReference(XMLSchemaReference
the SchemaReference to associate with this descriptor newSchemaReference)Implements org. |
| public void | |
| public void | setShouldPreserveDocument(boolean
if this descriptor should preserve unmapped data shouldPreserveDocument)PUBLIC: Specifies that object built from this descriptor should retain any unmapped information from their original XML Document when being written back out. |
| public void | setTableNames(Vector<E> tableNames)
Overrides org. |
| public void | setTables(Vector<DatabaseTable> theTables)
Overrides org. |
| public boolean | Returns: if this descriptor should preserve unmapped dataImplements org. |
| public boolean | shouldWrapObject(Object object, String elementNamespaceUri, String elementLocalName, String elementPrefix, boolean isNamespaceAware)
INTERNAL: |
| protected void | |
| public Object | Returns: objectImplements org. |
| public Object | Returns: objectImplements org. |
| public Object | wrapObjectInXMLRoot(Object object, String elementNamespaceUri, String elementLocalName, String elementPrefix, String encoding, String version, boolean forceWrap, boolean isNamespaceAware, XMLUnmarshaller unmarshaller)
Implements org. |