public class TLcdAISKeyPropertiesAnnotation extends Object implements ILcdAnnotation
Key properties are used in indices, therefore it is important that a key property always has a value.
TLcdDataType.getAnnotation(java.lang.Class<T>)
Constructor and Description |
---|
TLcdAISKeyPropertiesAnnotation(List<TLcdDataProperty> aProperties)
Creates a new data type annotation with the given list of key properties.
|
Modifier and Type | Method and Description |
---|---|
List<TLcdDataProperty> |
getKeyProperties()
Returns the list of key properties of the data type that has this
annotation.
|
public TLcdAISKeyPropertiesAnnotation(List<TLcdDataProperty> aProperties)
aProperties
- A list of properties of a given data type that should be
considered as key properties.public List<TLcdDataProperty> getKeyProperties()