public class StandardKeyInformation extends Object implements KeyInformation
KeyInformation.IndexRetriever, KeyInformation.Retriever, KeyInformation.StoreRetriever| Constructor and Description |
|---|
StandardKeyInformation(Class<?> dataType,
Cardinality cardinality,
Parameter... parameters) |
StandardKeyInformation(PropertyKey key,
Parameter... parameters) |
| Modifier and Type | Method and Description |
|---|---|
Cardinality |
getCardinality()
Returns the
Cardinality for this key. |
Class<?> |
getDataType()
Returns the data type of the key's values.
|
Parameter[] |
getParameters()
Returns the parameters of the key's configuration.
|
boolean |
hasParameters() |
public StandardKeyInformation(Class<?> dataType, Cardinality cardinality, Parameter... parameters)
public StandardKeyInformation(PropertyKey key, Parameter... parameters)
public Class<?> getDataType()
KeyInformationgetDataType in interface KeyInformationpublic boolean hasParameters()
public Parameter[] getParameters()
KeyInformationgetParameters in interface KeyInformationpublic Cardinality getCardinality()
KeyInformationCardinality for this key.getCardinality in interface KeyInformationCopyright © 2012–2015. All rights reserved.