Module org.eclipse.persistence.moxy
Class JAXBArrayAttributeAccessor
java.lang.Object
org.eclipse.persistence.mappings.AttributeAccessor
org.eclipse.persistence.internal.jaxb.many.JAXBArrayAttributeAccessor
- All Implemented Interfaces:
Serializable
,Cloneable
,CoreAttributeAccessor
AttributeAccessor used in conjunction with an XMLCompositeDirectCollectionMapping to enable
support for mapping to arrays
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.mappings.AttributeAccessor
attributeName, isReadOnly, isWriteOnly
-
Constructor Summary
ConstructorDescriptionJAXBArrayAttributeAccessor
(CoreAttributeAccessor nestedAccessor, CoreContainerPolicy containerPolicy, ClassLoader classLoader) -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeValueFromObject
(Object object) Return the attribute value from the object.void
initializeAttributes
(Class<?> theJavaClass) Allow any initialization to be performed with the descriptor class.void
setAdaptedClass
(Class<? extends ManyValue> adaptedClass) void
setAdaptedClassName
(String adaptedClassName) void
setAttributeValueInObject
(Object object, Object value) Set the attribute value into the object.void
setComponentClass
(Class<?> componentClass) void
setComponentClassName
(String componentClassName) void
setIsReadOnly
(boolean aBoolean) INTERNALvoid
setIsWriteOnly
(boolean aBoolean) INTERNAL:void
Methods inherited from class org.eclipse.persistence.mappings.AttributeAccessor
clone, getAttributeClass, getAttributeName, isInitialized, isInstanceVariableAttributeAccessor, isMapValueAttributeAccessor, isMethodAttributeAccessor, isReadOnly, isValuesAccessor, isVirtualAttributeAccessor, isWriteOnly, setAttributeName
-
Constructor Details
-
JAXBArrayAttributeAccessor
public JAXBArrayAttributeAccessor(CoreAttributeAccessor nestedAccessor, CoreContainerPolicy containerPolicy, ClassLoader classLoader)
-
-
Method Details
-
getAttributeValueFromObject
Description copied from class:AttributeAccessor
Return the attribute value from the object.- Specified by:
getAttributeValueFromObject
in interfaceCoreAttributeAccessor
- Specified by:
getAttributeValueFromObject
in classAttributeAccessor
- Throws:
DescriptorException
-
setAttributeValueInObject
Description copied from class:AttributeAccessor
Set the attribute value into the object.- Specified by:
setAttributeValueInObject
in interfaceCoreAttributeAccessor
- Specified by:
setAttributeValueInObject
in classAttributeAccessor
- Throws:
DescriptorException
-
initializeAttributes
Description copied from class:AttributeAccessor
Allow any initialization to be performed with the descriptor class.- Specified by:
initializeAttributes
in interfaceCoreAttributeAccessor
- Overrides:
initializeAttributes
in classAttributeAccessor
- Throws:
DescriptorException
-
setAdaptedClass
-
setComponentClass
-
setAdaptedClassName
-
setComponentClassName
-
setNestedAccessor
-
setIsWriteOnly
public void setIsWriteOnly(boolean aBoolean) Description copied from class:AttributeAccessor
INTERNAL:- Specified by:
setIsWriteOnly
in interfaceCoreAttributeAccessor
- Overrides:
setIsWriteOnly
in classAttributeAccessor
-
setIsReadOnly
public void setIsReadOnly(boolean aBoolean) Description copied from class:AttributeAccessor
INTERNAL- Specified by:
setIsReadOnly
in interfaceCoreAttributeAccessor
- Overrides:
setIsReadOnly
in classAttributeAccessor
-