java.lang.Object
org.eclipse.persistence.internal.jpa.weaving.AttributeDetails

public class AttributeDetails extends Object
INTERNAL: Internal helper class that holds details of a persistent attribute. Used by ClassDetails
  • Field Details

    • attributeName

      protected String attributeName
      The name of this attribute.
    • referenceClassName

      protected String referenceClassName
    • referenceClassType

      protected Type referenceClassType
    • weaveValueHolders

      protected boolean weaveValueHolders
    • weaveTransientFieldValueHolders

      protected boolean weaveTransientFieldValueHolders
    • mapping

      protected DatabaseMapping mapping
    • getterMethodName

      protected String getterMethodName
    • setterMethodName

      protected String setterMethodName
    • attributeOnSuperClass

      protected boolean attributeOnSuperClass
    • hasField

      protected boolean hasField
      Determines if the attribute has a real field.
    • declaringType

      protected Type declaringType
      Determines if the attribute has a real field.
    • setMethodSignature

      protected String setMethodSignature
      Caches the set method signature.
    • isVirtualProperty

      protected boolean isVirtualProperty
  • Constructor Details

  • Method Details

    • getAttributeName

      public String getAttributeName()
    • getMapping

      public DatabaseMapping getMapping()
    • getGetterMethodName

      public String getGetterMethodName()
    • getSetterMethodSignature

      public String getSetterMethodSignature()
    • getSetterMethodName

      public String getSetterMethodName()
    • getReferenceClassName

      public String getReferenceClassName()
    • setReferenceClassName

      public void setReferenceClassName(String className)
    • getDeclaringType

      public Type getDeclaringType()
    • setDeclaringType

      public void setDeclaringType(Type declaringType)
    • getReferenceClassType

      public Type getReferenceClassType()
    • setReferenceClassType

      public void setReferenceClassType(Type classType)
    • setAttributeOnSuperClass

      public void setAttributeOnSuperClass(boolean onSuperClass)
    • isVirtualProperty

      public boolean isVirtualProperty()
    • setVirtualProperty

      public void setVirtualProperty(boolean isVirtualProperty)
    • isAttributeOnSuperClass

      public boolean isAttributeOnSuperClass()
    • setWeaveTransientFieldValueHolders

      public void setWeaveTransientFieldValueHolders()
    • weaveTransientFieldValueHolders

      public boolean weaveTransientFieldValueHolders()
    • weaveValueHolders

      public boolean weaveValueHolders()
    • weaveVH

      public void weaveVH(boolean weaveValueHolders, DatabaseMapping mapping)
    • setGetterMethodName

      public void setGetterMethodName(String getMethodName)
    • setSetterMethodName

      public void setSetterMethodName(String setMethodName)
    • setHasField

      public void setHasField(boolean hasField)
      Set if the attribute has a real field. This allows properties to still be weaved at the field level.
    • hasField

      public boolean hasField()
      Return if the attribute has a real field. This allows properties to still be weaved at the field level.
    • isCollectionMapping

      public boolean isCollectionMapping()
    • isMappedWithAttributeAccess

      public boolean isMappedWithAttributeAccess()
    • isOneToOneMapping

      public boolean isOneToOneMapping()
    • isLazy

      public boolean isLazy()
    • toString

      public String toString()
      Overrides:
      toString in class Object