Class TLcdPrimaryKeyAnnotation

java.lang.Object
com.luciad.format.database.TLcdPrimaryKeyAnnotation
All Implemented Interfaces:
ILcdAnnotation

public class TLcdPrimaryKeyAnnotation extends Object implements ILcdAnnotation
ILcdAnnotation that is put on a TLcdDataType to define which property should be used as primary key.
  • Constructor Details

    • TLcdPrimaryKeyAnnotation

      public TLcdPrimaryKeyAnnotation(TLcdDataProperty aProperty)
  • Method Details

    • getProperty

      public TLcdDataProperty getProperty()
      Returns the property that is to be used as primary key.
      Returns:
      the primary key property for the type annotated with this annotation