Class AttributeAccessor

  • All Implemented Interfaces:, java.lang.Cloneable, CoreAttributeAccessor

    public abstract class AttributeAccessor
    extends java.lang.Object
    implements CoreAttributeAccessor, java.lang.Cloneable,

    Purpose: This provides an abstract class for setting and retrieving the attribute value for the mapping from an object. It can be used in advanced situations if the attribute requires advanced conversion of the mapping value, or a real attribute does not exist.

    See Also:
    Serialized Form
    OracleAS TopLink 10g (10.0.3)
    • Field Detail

      • attributeName

        protected java.lang.String attributeName
        Stores the name of the attribute
      • isWriteOnly

        protected boolean isWriteOnly
      • isReadOnly

        protected boolean isReadOnly
    • Constructor Detail

      • AttributeAccessor

        public AttributeAccessor()
    • Method Detail

      • clone

        public java.lang.Object clone()
        INTERNAL: Clones itself.
        clone in class java.lang.Object
      • setAttributeName

        public void setAttributeName​(java.lang.String attributeName)
        INTERNAL: Set the attribute name.
      • isInitialized

        public boolean isInitialized()
        Returns true if this attribute accessor has been initialized and now stores a reference to the class's attribute. An attribute accessor can become uninitialized on serialization.
      • isMapValueAttributeAccessor

        public boolean isMapValueAttributeAccessor()
      • isValuesAccessor

        public boolean isValuesAccessor()
      • isVirtualAttributeAccessor

        public boolean isVirtualAttributeAccessor()
      • isReadOnly

        public boolean isReadOnly()