Interface Field<ENTITY>

Type Parameters:
ENTITY - the entity type
All Superinterfaces:
HasColumnName, HasGetter<ENTITY>, HasTable<ENTITY>
All Known Subinterfaces:
BooleanField<ENTITY>, ByteField<ENTITY>, CharField<ENTITY>, ComparableField<ENTITY,V>, DoubleField<ENTITY>, EnumField<ENTITY,E>, FloatField<ENTITY>, HasBooleanOperators<ENTITY>, HasBooleanValue<ENTITY>, HasByteValue<ENTITY>, HasCharValue<ENTITY>, HasComparableOperators<ENTITY,V>, HasDoubleValue<ENTITY>, HasFloatValue<ENTITY>, HasIntValue<ENTITY>, HasLongValue<ENTITY>, HasReferenceValue<ENTITY,V>, HasShortValue<ENTITY>, IntField<ENTITY>, LongField<ENTITY>, ReferenceField<ENTITY,V>, ShortField<ENTITY>, StringField<ENTITY>

public interface Field<ENTITY> extends HasColumnName, HasTable<ENTITY>, HasGetter<ENTITY>
The base interface for all fields.
Since:
2.2.0
Author:
Per Minborg, Emil Forslund
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the column that this field represents is UNIQUE.

    Methods inherited from interface com.speedment.jpastreamer.field.trait.HasColumnName

    columnName

    Methods inherited from interface com.speedment.jpastreamer.field.trait.HasGetter

    getter

    Methods inherited from interface com.speedment.jpastreamer.field.trait.HasTable

    table
  • Method Details

    • isUnique

      boolean isUnique()
      Returns true if the column that this field represents is UNIQUE.
      Returns:
      true if unique