Class AnnotationMetaCollection
java.lang.Object
com.blazebit.persistence.view.processor.annotation.AnnotationMetaAttribute
com.blazebit.persistence.view.processor.annotation.AnnotationMetaCollection
- All Implemented Interfaces:
MetaAttribute
- Direct Known Subclasses:
AnnotationMetaMap
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationMetaCollection(AnnotationMetaEntityView parent, Element element, String collectionType, String collectionJavaType, String elementCollectionJavaType, String elementType, String realElementType, Context context) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendDefaultValue(StringBuilder sb, boolean createEmpty, boolean createConstructor, ImportContext importContext) voidappendElementType(StringBuilder sb, ImportContext importContext) voidappendMetamodelAttributeType(StringBuilder sb, ImportContext importContext) booleanbooleanbooleanMethods inherited from class com.blazebit.persistence.view.processor.annotation.AnnotationMetaAttribute
appendBuilderAttributeDeclarationString, appendBuilderAttributeGetterAndSetterString, appendImplementationAttributeDeclarationString, appendImplementationAttributeGetterAndSetterString, appendMetamodelAttributeDeclarationString, appendMetamodelAttributeNameDeclarationString, getAttributeIndex, getBuilderImplementationTypeString, getConvertedModelType, getDeclaredJavaType, getDerivedTypeName, getDirtyStateIndex, getElement, getFilters, getGeneratedTypePrefix, getHostingEntity, getKind, getMapping, getModelType, getOptionalParameters, getPropertyName, getSetter, getSubview, getSubviewElement, getTypeMirror, isIdMember, isMutable, isPrimitive, isSelf, isSubview, isSynthetic, isVersion, setAttributeIndex, setDirtyStateIndex, supportsDirtyTracking
-
Field Details
-
ordered
protected final boolean ordered -
sorted
protected final boolean sorted -
comparator
-
collectionJavaType
-
elementCollectionJavaType
-
-
Constructor Details
-
AnnotationMetaCollection
-
-
Method Details
-
appendDefaultValue
public void appendDefaultValue(StringBuilder sb, boolean createEmpty, boolean createConstructor, ImportContext importContext) - Specified by:
appendDefaultValuein interfaceMetaAttribute- Overrides:
appendDefaultValuein classAnnotationMetaAttribute
-
isCreateEmptyFlatViews
public boolean isCreateEmptyFlatViews()- Specified by:
isCreateEmptyFlatViewsin interfaceMetaAttribute- Overrides:
isCreateEmptyFlatViewsin classAnnotationMetaAttribute
-
appendMetamodelAttributeType
- Specified by:
appendMetamodelAttributeTypein interfaceMetaAttribute- Overrides:
appendMetamodelAttributeTypein classAnnotationMetaAttribute
-
appendElementType
- Specified by:
appendElementTypein interfaceMetaAttribute- Overrides:
appendElementTypein classAnnotationMetaAttribute
-
getImplementationTypeString
- Specified by:
getImplementationTypeStringin interfaceMetaAttribute- Overrides:
getImplementationTypeStringin classAnnotationMetaAttribute
-
getMetaType
- Specified by:
getMetaTypein interfaceMetaAttribute- Specified by:
getMetaTypein classAnnotationMetaAttribute
-
isIndexedList
public boolean isIndexedList() -
isMultiCollection
public boolean isMultiCollection()- Specified by:
isMultiCollectionin interfaceMetaAttribute- Overrides:
isMultiCollectionin classAnnotationMetaAttribute
-