Module org.eclipse.persistence.jpa
Class AttributeDetails
java.lang.Object
org.eclipse.persistence.internal.jpa.weaving.AttributeDetails
INTERNAL:
Internal helper class that holds details of a persistent attribute.
Used by
ClassDetails-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe name of this attribute.protected booleanprotected TypeDetermines if the attribute has a real field.protected Stringprotected booleanDetermines if the attribute has a real field.protected booleanprotected DatabaseMappingprotected Stringprotected Typeprotected StringCaches the set method signature.protected Stringprotected booleanprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasField()Return if the attribute has a real field.booleanbooleanbooleanisLazy()booleanbooleanbooleanvoidsetAttributeOnSuperClass(boolean onSuperClass) voidsetDeclaringType(Type declaringType) voidsetGetterMethodName(String getMethodName) voidsetHasField(boolean hasField) Set if the attribute has a real field.voidsetReferenceClassName(String className) voidsetReferenceClassType(Type classType) voidsetSetterMethodName(String setMethodName) voidsetVirtualProperty(boolean isVirtualProperty) voidtoString()booleanbooleanvoidweaveVH(boolean weaveValueHolders, DatabaseMapping mapping)
-
Field Details
-
attributeName
The name of this attribute. -
referenceClassName
-
referenceClassType
-
weaveValueHolders
protected boolean weaveValueHolders -
weaveTransientFieldValueHolders
protected boolean weaveTransientFieldValueHolders -
mapping
-
getterMethodName
-
setterMethodName
-
attributeOnSuperClass
protected boolean attributeOnSuperClass -
hasField
protected boolean hasFieldDetermines if the attribute has a real field. -
declaringType
Determines if the attribute has a real field. -
setMethodSignature
Caches the set method signature. -
isVirtualProperty
protected boolean isVirtualProperty
-
-
Constructor Details
-
AttributeDetails
-
-
Method Details
-
getAttributeName
-
getMapping
-
getGetterMethodName
-
getSetterMethodSignature
-
getSetterMethodName
-
getReferenceClassName
-
setReferenceClassName
-
getDeclaringType
-
setDeclaringType
-
getReferenceClassType
-
setReferenceClassType
-
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
-
setGetterMethodName
-
setSetterMethodName
-
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
-