Module org.eclipse.persistence.moxy
Class MapValueAttributeAccessor
java.lang.Object
org.eclipse.persistence.mappings.AttributeAccessor
org.eclipse.persistence.internal.jaxb.many.MapValueAttributeAccessor
- All Implemented Interfaces:
Serializable,Cloneable,CoreAttributeAccessor
AttributeAccessor used in conjunction with an XMLCompositeDirectCollectionMapping
or XMLCompositeCollectionMapping to enable support for mapping to Maps in JAXB
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.mappings.AttributeAccessor
attributeName, isReadOnly, isWriteOnly -
Constructor Summary
ConstructorsConstructorDescriptionMapValueAttributeAccessor(CoreAttributeAccessor nestedAccessor, CoreContainerPolicy cp, Class<?> generatedEntryClass, String mapClassName, ClassLoader classLoader) -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeValueFromObject(Object object) Return the attribute value from the object.voidinitializeAttributes(Class<?> theJavaClass) Allow any initialization to be performed with the descriptor class.voidsetAttributeValueInObject(Object object, Object value) Set the attribute value into the object.Methods inherited from class org.eclipse.persistence.mappings.AttributeAccessor
clone, getAttributeClass, getAttributeName, isInitialized, isInstanceVariableAttributeAccessor, isMapValueAttributeAccessor, isMethodAttributeAccessor, isReadOnly, isValuesAccessor, isVirtualAttributeAccessor, isWriteOnly, setAttributeName, setIsReadOnly, setIsWriteOnly
-
Constructor Details
-
MapValueAttributeAccessor
public MapValueAttributeAccessor(CoreAttributeAccessor nestedAccessor, CoreContainerPolicy cp, Class<?> generatedEntryClass, String mapClassName, ClassLoader classLoader)
-
-
Method Details
-
getAttributeValueFromObject
Description copied from class:AttributeAccessorReturn the attribute value from the object.- Specified by:
getAttributeValueFromObjectin interfaceCoreAttributeAccessor- Specified by:
getAttributeValueFromObjectin classAttributeAccessor- Throws:
DescriptorException
-
setAttributeValueInObject
Description copied from class:AttributeAccessorSet the attribute value into the object.- Specified by:
setAttributeValueInObjectin interfaceCoreAttributeAccessor- Specified by:
setAttributeValueInObjectin classAttributeAccessor- Throws:
DescriptorException
-
initializeAttributes
Description copied from class:AttributeAccessorAllow any initialization to be performed with the descriptor class.- Specified by:
initializeAttributesin interfaceCoreAttributeAccessor- Overrides:
initializeAttributesin classAttributeAccessor- Throws:
DescriptorException
-