Class PropertyStaticMetadata


  • public class PropertyStaticMetadata
    extends Object
    Static information (common for all database connections) about an entity property.
    Author:
    Guillaume Le Cousin
    • 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()
      • getJoinTableForeignTable

        public PropertyStaticMetadata getJoinTableForeignTable()
        Returns the foreign table property generated for this join table property.
      • getJoinTableTargetFieldName

        public String getJoinTableTargetFieldName()