|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.mappings.DatabaseMapping
org.eclipse.persistence.mappings.foundation.AbstractDirectMapping
org.eclipse.persistence.mappings.DirectToFieldMapping
org.eclipse.persistence.mappings.xdb.DirectToXMLTypeMapping
public class DirectToXMLTypeMapping
Purpose: Mapping used to map from a DOM (org.w3c.Document) or XML String into an Oracle XMLType field, in Oracle 9i XDB.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.persistence.mappings.DatabaseMapping |
|---|
DatabaseMapping.WriteType |
| Constructor Summary | |
|---|---|
DirectToXMLTypeMapping()
|
|
| Method Summary | |
|---|---|
Object |
getAttributeValue(Object fieldValue,
Session session)
INTERNAL: Get the attribute value for the given field value. |
void |
initialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: The mapping is initialized with the given session. |
boolean |
isDirectToXMLTypeMapping()
INTERNAL: Related mapping should implement this method to return true. |
void |
preInitialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Default to mutable if mapped as a DOM. |
void |
setShouldReadWholeDocument(boolean readWholeDocument)
PUBLIC: |
boolean |
shouldReadWholeDocument()
PUBLIC: |
| Methods inherited from class org.eclipse.persistence.mappings.DirectToFieldMapping |
|---|
isRelationalMapping, setFieldName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DirectToXMLTypeMapping()
| Method Detail |
|---|
public void preInitialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
throws DescriptorException
preInitialize in class AbstractDirectMappingDescriptorException
public void initialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
throws DescriptorException
initialize in class AbstractDirectMappingDescriptorExceptionpublic void setShouldReadWholeDocument(boolean readWholeDocument)
boolean - - determines if the Oracle XDB DOM should be fully initialized
on a read.public boolean shouldReadWholeDocument()
public Object getAttributeValue(Object fieldValue,
Session session)
throws ConversionException
getAttributeValue in class AbstractDirectMappingConversionExceptionpublic boolean isDirectToXMLTypeMapping()
DatabaseMapping
isDirectToXMLTypeMapping in class DatabaseMapping
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||