public class XMLVariableXPathObjectMapping extends XMLCompositeObjectMapping implements VariableXPathObjectMapping<AbstractSession,AttributeAccessor,ContainerPolicy,Converter,ClassDescriptor,DatabaseField,XMLMarshaller,Session,XMLUnmarshaller,XMLRecord>, XMLMapping
DatabaseMapping.WriteType| Constructor and Description |
|---|
XMLVariableXPathObjectMapping() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getFields()
INTERNAL:
Returns a vector of all the fields this mapping represents.
|
AttributeAccessor |
getVariableAttributeAccessor() |
java.lang.String |
getVariableAttributeName() |
java.lang.String |
getVariableGetMethodName() |
java.lang.String |
getVariableSetMethodName() |
XPathFragment |
getXPathFragmentForValue(java.lang.Object obj,
NamespaceResolver nr,
boolean isNamespaceAware,
char namespaceSep) |
void |
initialize(AbstractSession session)
INTERNAL:
The mapping is initialized with the given session.
|
boolean |
isAbstractCompositeObjectMapping()
INTERNAL:
|
boolean |
isAttribute() |
void |
setAttribute(boolean isAttribute) |
void |
setVariableAttributeAccessor(AttributeAccessor variableAttributeAccessor) |
void |
setVariableAttributeName(java.lang.String variableAttributeName) |
void |
setVariableGetMethodName(java.lang.String variableGetMethodName) |
void |
setVariableSetMethodName(java.lang.String variableSetMethodName) |
void |
writeSingleValue(java.lang.Object value,
java.lang.Object parent,
XMLRecord xmlRow,
AbstractSession session)
INTERNAL:
A method that marshals a single value to the provided Record based on this mapping's
XPath.
|
configureNestedRow, convertClassNamesToClasses, convertDataValueToObjectValue, convertObjectValueToDataValue, getContainerAccessor, getContainerAttributeName, getContainerGetMethodName, getContainerSetMethodName, getInverseReferenceMapping, getKeepAsElementPolicy, getNullPolicy, getReferenceDescriptor, getXPath, isWriteOnly, isXMLMapping, preInitialize, readFromRowIntoObject, setAttributeValueInObject, setContainerAccessor, setContainerAttributeName, setContainerGetMethodName, setContainerSetMethodName, setIsWriteOnly, setKeepAsElementPolicy, setNullPolicy, setXPath, valueFromRow, valueFromRow, writeFromObjectIntoRowbuildExpression, buildShallowOriginalFromRow, cascadeDiscoverAndPersistUnregisteredNewObjects, cascadePerformRemoveIfRequired, cascadeRegisterNewIfRequired, getConverter, getField, hasConverter, setConverter, setField, valueFromObject, writeFromObjectIntoRowForUpdate, writeFromObjectIntoRowWithChangeRecord, writeInsertFieldsIntoRowbuildBackupClone, buildClone, buildCloneFromRow, buildCopy, compareForChange, compareObjects, fixObjectReferences, getReferenceClass, getReferenceClassName, getReferenceDescriptor, hasNestedIdentityReference, isAggregateMapping, iterate, load, loadAll, mergeChangesIntoObject, mergeIntoObject, postDelete, postDeleteAttributeValue, postInsert, postInsertAttributeValue, postUpdate, postUpdateAttributeValue, preDelete, preDeleteAttributeValue, preInsert, preInsertAttributeValue, preUpdate, preUpdateAttributeValue, remoteInitialization, setReferenceClass, setReferenceClassName, updateChangeRecord, verifyDeleteaddUnconvertedProperty, buildBackupCloneForPartObject, buildChangeRecord, buildCloneForPartObject, buildContainerClone, buildObjectJoinExpression, buildObjectJoinExpression, calculateDeferredChanges, cascadePerformRemovePrivateOwnedObjectFromChangeSetIfRequired, clone, collectQueryParameters, createCloneValueHolder, derivesId, earlyPreDelete, fixRealObjectReferences, getAttributeAccessor, getAttributeClassification, getAttributeName, getAttributeValueFromObject, getContainerPolicy, getDerivedIdMapping, getDescriptor, getFieldClassification, getGetMethodName, getMapsIdValue, getObjectCorrespondingTo, getOrderByNormalizedExpressions, getProperties, getProperty, getRealAttributeValueFromAttribute, getRealAttributeValueFromObject, getRealCollectionAttributeValueFromObject, getRelationshipPartner, getSelectFields, getSelectTables, getSetMethodName, getUnconvertedProperties, getValueFromRemoteValueHolder, getWeight, hasConstraintDependency, hasDependency, hasInverseConstraintDependency, hasMapsIdValue, hasUnconvertedProperties, instantiateAttribute, isAbstractColumnMapping, isAbstractCompositeCollectionMapping, isAbstractCompositeDirectCollectionMapping, isAbstractDirectMapping, isAggregateCollectionMapping, isAggregateObjectMapping, isAttributeValueFromObjectInstantiated, isCacheable, isCandidateForPrivateOwnedRemoval, isCascadedLockingSupported, isChangeTrackingSupported, isCloningRequired, isCollectionMapping, isDatabaseMapping, isDirectCollectionMapping, isDirectMapMapping, isDirectToFieldMapping, isDirectToXMLTypeMapping, isEISMapping, isElementCollectionMapping, isForeignReferenceMapping, isInAndOutSopObject, isInOnlySopObject, isInSopObject, isJoiningSupported, isJPAId, isLazy, isLockableMapping, isManyToManyMapping, isManyToOneMapping, isMapKeyMapping, isMultitenantPrimaryKeyMapping, isNestedTableMapping, isObjectReferenceMapping, isOneToManyMapping, isOneToOneMapping, isOptional, isOutOnlySopObject, isOutSopObject, isOwned, isPrimaryKeyMapping, isPrivateOwned, isReadOnly, isReferenceMapping, isRelationalMapping, isStructureMapping, isTransformationMapping, isUnidirectionalOneToManyMapping, isUsingMethodAccess, isVariableOneToOneMapping, iterateOnRealAttributeValue, performDataModificationEvent, postCalculateChanges, postCalculateChangesOnDeleted, postInitialize, postInitializeSourceAndTargetExpressions, prepareCascadeLockingPolicy, readFromResultSetIntoObject, readOnly, readWrite, recordPrivateOwnedRemovals, rehashFieldDependancies, replaceValueHoldersIn, setAttributeAccessor, setAttributeName, setChangeListener, setDerivedIdMapping, setDerivesId, setDescriptor, setGetMethodName, setIsCacheable, setIsInAndOutSopObject, setIsInSopObject, setIsJPAId, setIsLazy, setIsMapKeyMapping, setIsOptional, setIsOutSopObject, setIsPrimaryKeyMapping, setIsReadOnly, setMapsIdValue, setProperties, setProperty, setRealAttributeValueInObject, setSetMethodName, setWeight, simpleAddToCollectionChangeRecord, simpleRemoveFromCollectionChangeRecord, toString, updateCollectionChangeRecord, validateAfterInitialization, validateBeforeInitialization, valueFromResultSet, valueFromRow, writeFromAttributeIntoRow, writeFromObjectIntoRowForShallowInsert, writeFromObjectIntoRowForShallowInsertWithChangeRecord, writeFromObjectIntoRowForUpdateAfterShallowInsert, writeFromObjectIntoRowForUpdateBeforeShallowDelete, writeFromObjectIntoRowForWhereClause, writeUpdateFieldsIntoRowequals, getClass, hashCode, notify, notifyAll, wait, wait, waitsetConverter, setIsWriteOnly, setReferenceClassNameconvertDataValueToObjectValue, convertObjectValueToDataValueconvertClassNamesToClasses, isWriteOnly, setIsWriteOnlygetAttributeAccessor, getAttributeClassification, getAttributeName, getAttributeValueFromObject, getContainerPolicy, getDescriptor, getField, getReferenceDescriptor, isAbstractCompositeCollectionMapping, isAbstractCompositeDirectCollectionMapping, isAbstractDirectMapping, isCollectionMapping, isReadOnly, isReferenceMapping, isTransformationMapping, setAttributeAccessor, setAttributeName, setAttributeValueInObject, setGetMethodName, setIsReadOnly, setProperties, setSetMethodNamegetReferenceClass, getReferenceClassName, hasConverter, setConverter, setField, setReferenceClass, setReferenceClassNamepublic void initialize(AbstractSession session) throws DescriptorException
XMLCompositeObjectMappinginitialize in class XMLCompositeObjectMappingDescriptorExceptionpublic java.util.Vector getFields()
DatabaseMappinggetFields in class DatabaseMappingpublic boolean isAbstractCompositeObjectMapping()
AbstractCompositeObjectMappingisAbstractCompositeObjectMapping in interface Mapping<AbstractSession,AttributeAccessor,ContainerPolicy,ClassDescriptor,DatabaseField,XMLRecord>isAbstractCompositeObjectMapping in class AbstractCompositeObjectMappingpublic java.lang.String getVariableAttributeName()
public void setVariableAttributeName(java.lang.String variableAttributeName)
public java.lang.String getVariableGetMethodName()
public void setVariableGetMethodName(java.lang.String variableGetMethodName)
public java.lang.String getVariableSetMethodName()
public void setVariableSetMethodName(java.lang.String variableSetMethodName)
public AttributeAccessor getVariableAttributeAccessor()
public void setVariableAttributeAccessor(AttributeAccessor variableAttributeAccessor)
public void writeSingleValue(java.lang.Object value,
java.lang.Object parent,
XMLRecord xmlRow,
AbstractSession session)
XMLMappingwriteSingleValue in interface Mapping<AbstractSession,AttributeAccessor,ContainerPolicy,ClassDescriptor,DatabaseField,XMLRecord>writeSingleValue in interface XMLMappingwriteSingleValue in class XMLCompositeObjectMappingvalue - - The value to be marshalledxmlRow - - The Record the value is being marshalled too.public XPathFragment getXPathFragmentForValue(java.lang.Object obj, NamespaceResolver nr, boolean isNamespaceAware, char namespaceSep)
public boolean isAttribute()
public void setAttribute(boolean isAttribute)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference