Class PropertyStaticMetadata
- java.lang.Object
-
- net.lecousin.reactive.data.relational.model.metadata.PropertyStaticMetadata
-
public class PropertyStaticMetadata extends Object
Static information (common for all database connections) about an entity property.- Author:
- Guillaume Le Cousin
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getCollectionElementType()FieldgetField()ForeignKeygetForeignKeyAnnotation()ForeignTablegetForeignTableAnnotation()TypegetGenericType()JoinTablegetJoinTableAnnotation()PropertyStaticMetadatagetJoinTableForeignTable()Returns the foreign table property generated for this join table property.StringgetJoinTableSourceFieldName()StringgetJoinTableTargetFieldName()StringgetName()Class<?>getType()Class<?>getTypeOrCollectionElementType()booleanisCollection()booleanisForeignKey()booleanisForeignTable()booleanisJoinTable()
-
-
-
Method Detail
-
getName
@NonNull public String getName()
-
getField
@NonNull public Field getField()
-
isCollection
public boolean isCollection()
-
getType
@NonNull public Class<?> getType()
-
getGenericType
@NonNull public Type getGenericType()
-
getCollectionElementType
@Nullable public Class<?> getCollectionElementType()
-
getTypeOrCollectionElementType
@NonNull public Class<?> getTypeOrCollectionElementType()
-
isForeignKey
public boolean isForeignKey()
-
getForeignKeyAnnotation
public ForeignKey getForeignKeyAnnotation()
-
isForeignTable
public boolean isForeignTable()
-
getForeignTableAnnotation
public ForeignTable getForeignTableAnnotation()
-
isJoinTable
public boolean isJoinTable()
-
getJoinTableAnnotation
public JoinTable getJoinTableAnnotation()
-
getJoinTableForeignTable
public PropertyStaticMetadata getJoinTableForeignTable()
Returns the foreign table property generated for this join table property.
-
getJoinTableSourceFieldName
public String getJoinTableSourceFieldName()
-
getJoinTableTargetFieldName
public String getJoinTableTargetFieldName()
-
-