Module org.eclipse.persistence.core
Interface CompositeObjectMapping<ABSTRACT_SESSION extends CoreAbstractSession,ATTRIBUTE_ACCESSOR extends CoreAttributeAccessor,CONTAINER_POLICY extends CoreContainerPolicy,CONVERTER extends CoreConverter,DESCRIPTOR extends CoreDescriptor,FIELD extends CoreField,MARSHALLER extends Marshaller,SESSION extends CoreSession,UNMARSHAL_KEEP_AS_ELEMENT_POLICY extends UnmarshalKeepAsElementPolicy,UNMARSHALLER extends Unmarshaller,XML_RECORD extends XMLRecord>
- All Superinterfaces:
Mapping<ABSTRACT_SESSION,
,ATTRIBUTE_ACCESSOR, CONTAINER_POLICY, DESCRIPTOR, FIELD, XML_RECORD> XMLConverterMapping<MARSHALLER,
SESSION, UNMARSHALLER>
- All Known Subinterfaces:
CompositeCollectionMapping<ABSTRACT_SESSION,
ATTRIBUTE_ACCESSOR, CONTAINER_POLICY, CONVERTER, DESCRIPTOR, FIELD, MARSHALLER, SESSION, UNMARSHAL_KEEP_AS_ELEMENT_POLICY, UNMARSHALLER, XML_RECORD>
- All Known Implementing Classes:
XMLCompositeCollectionMapping
,XMLCompositeObjectMapping
,XMLVariableXPathCollectionMapping
,XMLVariableXPathObjectMapping
public interface CompositeObjectMapping<ABSTRACT_SESSION extends CoreAbstractSession,ATTRIBUTE_ACCESSOR extends CoreAttributeAccessor,CONTAINER_POLICY extends CoreContainerPolicy,CONVERTER extends CoreConverter,DESCRIPTOR extends CoreDescriptor,FIELD extends CoreField,MARSHALLER extends Marshaller,SESSION extends CoreSession,UNMARSHAL_KEEP_AS_ELEMENT_POLICY extends UnmarshalKeepAsElementPolicy,UNMARSHALLER extends Unmarshaller,XML_RECORD extends XMLRecord>
extends Mapping<ABSTRACT_SESSION,ATTRIBUTE_ACCESSOR,CONTAINER_POLICY,DESCRIPTOR,FIELD,XML_RECORD>, XMLConverterMapping<MARSHALLER,SESSION,UNMARSHALLER>
-
Method Summary
Modifier and TypeMethodDescriptionClass
<?> PUBLIC: Returns the reference classboolean
void
setConverter
(CONVERTER converter) void
ADVANCED: Set the field in the mapping.void
setIsWriteOnly
(boolean b) void
setKeepAsElementPolicy
(UNMARSHAL_KEEP_AS_ELEMENT_POLICY keepAsElementPolicy) void
setNullPolicy
(AbstractNullPolicy aNullPolicy) Set the AbstractNullPolicy on the mapping
The default policy is NullPolicy.void
setReferenceClass
(Class<?> aClass) This is a reference class whose instances this mapping will store in the domain objects.void
setReferenceClassName
(String aClassName) void
Methods inherited from interface org.eclipse.persistence.internal.oxm.mappings.Mapping
convertClassNamesToClasses, getAttributeAccessor, getAttributeClassification, getAttributeName, getAttributeValueFromObject, getContainerPolicy, getDescriptor, getField, getReferenceDescriptor, isAbstractCompositeCollectionMapping, isAbstractCompositeDirectCollectionMapping, isAbstractCompositeObjectMapping, isAbstractDirectMapping, isCollectionMapping, isReadOnly, isReferenceMapping, isTransformationMapping, setAttributeAccessor, setAttributeName, setAttributeValueInObject, setGetMethodName, setIsReadOnly, setProperties, setSetMethodName, writeSingleValue
Methods inherited from interface org.eclipse.persistence.internal.oxm.mappings.XMLConverterMapping
convertDataValueToObjectValue, convertObjectValueToDataValue
-
Method Details
-
getInverseReferenceMapping
InverseReferenceMapping getInverseReferenceMapping() -
getKeepAsElementPolicy
UNMARSHAL_KEEP_AS_ELEMENT_POLICY getKeepAsElementPolicy() -
getNullPolicy
AbstractNullPolicy getNullPolicy() -
getReferenceClass
Class<?> getReferenceClass()PUBLIC: Returns the reference class -
getReferenceClassName
String getReferenceClassName() -
hasConverter
boolean hasConverter() -
setConverter
-
setIsWriteOnly
void setIsWriteOnly(boolean b) -
setKeepAsElementPolicy
-
setNullPolicy
Set the AbstractNullPolicy on the mapping
The default policy is NullPolicy. -
setReferenceClass
This is a reference class whose instances this mapping will store in the domain objects. -
setReferenceClassName
-
setXPath
-
setField
ADVANCED: Set the field in the mapping.
-