Class AnnotationMetaAttribute
java.lang.Object
com.blazebit.persistence.view.processor.annotation.AnnotationMetaAttribute
- All Implemented Interfaces:
MetaAttribute
- Direct Known Subclasses:
AnnotationMetaCollection,AnnotationMetaSingularAttribute,AnnotationMetaVersionAttribute
public abstract class AnnotationMetaAttribute extends Object implements MetaAttribute
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Constructor Summary
Constructors Modifier Constructor Description protectedAnnotationMetaAttribute(AnnotationMetaEntityView parent, Context context)AnnotationMetaAttribute(AnnotationMetaEntityView parent, Element element, String modelType, String declaredJavaType, Context context)protectedAnnotationMetaAttribute(AnnotationMetaEntityView parent, Element element, String modelType, String declaredJavaType, String convertedModelType, Context context, boolean version) -
Method Summary
-
Constructor Details
-
AnnotationMetaAttribute
-
AnnotationMetaAttribute
public AnnotationMetaAttribute(AnnotationMetaEntityView parent, Element element, String modelType, String declaredJavaType, Context context) -
AnnotationMetaAttribute
-
-
Method Details
-
getSubview
-
appendDefaultValue
public void appendDefaultValue(StringBuilder sb, boolean createEmpty, boolean createConstructor, ImportContext importContext)- Specified by:
appendDefaultValuein interfaceMetaAttribute
-
isCreateEmptyFlatViews
public boolean isCreateEmptyFlatViews()- Specified by:
isCreateEmptyFlatViewsin interfaceMetaAttribute
-
getOptionalParameters
-
isIdMember
public boolean isIdMember() -
isVersion
public boolean isVersion() -
getDerivedTypeName
-
appendMetamodelAttributeType
- Specified by:
appendMetamodelAttributeTypein interfaceMetaAttribute
-
appendElementType
- Specified by:
appendElementTypein interfaceMetaAttribute
-
appendMetamodelAttributeDeclarationString
public void appendMetamodelAttributeDeclarationString(StringBuilder sb, ImportContext importContext)- Specified by:
appendMetamodelAttributeDeclarationStringin interfaceMetaAttribute
-
appendMetamodelAttributeNameDeclarationString
public void appendMetamodelAttributeNameDeclarationString(StringBuilder sb, ImportContext importContext)- Specified by:
appendMetamodelAttributeNameDeclarationStringin interfaceMetaAttribute
-
appendImplementationAttributeDeclarationString
- Specified by:
appendImplementationAttributeDeclarationStringin interfaceMetaAttribute
-
appendImplementationAttributeGetterAndSetterString
- Specified by:
appendImplementationAttributeGetterAndSetterStringin interfaceMetaAttribute
-
appendBuilderAttributeDeclarationString
- Specified by:
appendBuilderAttributeDeclarationStringin interfaceMetaAttribute
-
appendBuilderAttributeGetterAndSetterString
- Specified by:
appendBuilderAttributeGetterAndSetterStringin interfaceMetaAttribute
-
getImplementationTypeString
- Specified by:
getImplementationTypeStringin interfaceMetaAttribute
-
getBuilderImplementationTypeString
- Specified by:
getBuilderImplementationTypeStringin interfaceMetaAttribute
-
getFilters
- Specified by:
getFiltersin interfaceMetaAttribute
-
getElement
- Specified by:
getElementin interfaceMetaAttribute
-
getKind
- Specified by:
getKindin interfaceMetaAttribute
-
getMapping
- Specified by:
getMappingin interfaceMetaAttribute
-
getAttributeIndex
public int getAttributeIndex()- Specified by:
getAttributeIndexin interfaceMetaAttribute
-
setAttributeIndex
public void setAttributeIndex(int attributeIndex)- Specified by:
setAttributeIndexin interfaceMetaAttribute
-
getDirtyStateIndex
public int getDirtyStateIndex()- Specified by:
getDirtyStateIndexin interfaceMetaAttribute
-
setDirtyStateIndex
public void setDirtyStateIndex(int dirtyStateIndex)- Specified by:
setDirtyStateIndexin interfaceMetaAttribute
-
getSetter
- Specified by:
getSetterin interfaceMetaAttribute
-
supportsDirtyTracking
public boolean supportsDirtyTracking()- Specified by:
supportsDirtyTrackingin interfaceMetaAttribute
-
getPropertyName
- Specified by:
getPropertyNamein interfaceMetaAttribute
-
getHostingEntity
- Specified by:
getHostingEntityin interfaceMetaAttribute
-
isSubview
public boolean isSubview()- Specified by:
isSubviewin interfaceMetaAttribute
-
isMultiCollection
public boolean isMultiCollection()- Specified by:
isMultiCollectionin interfaceMetaAttribute
-
getSubviewElement
- Specified by:
getSubviewElementin interfaceMetaAttribute
-
isSynthetic
public boolean isSynthetic()- Specified by:
isSyntheticin interfaceMetaAttribute
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceMetaAttribute
-
isSelf
public boolean isSelf()- Specified by:
isSelfin interfaceMetaAttribute
-
isPrimitive
public boolean isPrimitive()- Specified by:
isPrimitivein interfaceMetaAttribute
-
getMetaType
- Specified by:
getMetaTypein interfaceMetaAttribute
-
getModelType
- Specified by:
getModelTypein interfaceMetaAttribute
-
getGeneratedTypePrefix
- Specified by:
getGeneratedTypePrefixin interfaceMetaAttribute
-
getDeclaredJavaType
- Specified by:
getDeclaredJavaTypein interfaceMetaAttribute
-
getConvertedModelType
- Specified by:
getConvertedModelTypein interfaceMetaAttribute
-
getTypeMirror
- Specified by:
getTypeMirrorin interfaceMetaAttribute
-