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
Modifier and TypeFieldDescriptionprotected String
The name of this attribute.protected boolean
protected Type
Determines if the attribute has a real field.protected String
protected boolean
Determines if the attribute has a real field.protected boolean
protected DatabaseMapping
protected String
protected Type
protected String
Caches the set method signature.protected String
protected boolean
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasField()
Return if the attribute has a real field.boolean
boolean
boolean
isLazy()
boolean
boolean
boolean
void
setAttributeOnSuperClass
(boolean onSuperClass) void
setDeclaringType
(Type declaringType) void
setGetterMethodName
(String getMethodName) void
setHasField
(boolean hasField) Set if the attribute has a real field.void
setReferenceClassName
(String className) void
setReferenceClassType
(Type classType) void
setSetterMethodName
(String setMethodName) void
setVirtualProperty
(boolean isVirtualProperty) void
toString()
boolean
boolean
void
weaveVH
(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
-