@JsonApiResource(type="meta/key") public class MetaKey extends MetaElement
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID_ELEMENT_SEPARATOR |
| Constructor and Description |
|---|
MetaKey() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MetaAttribute> |
getElements() |
MetaAttribute |
getUniqueElement() |
boolean |
isUnique() |
void |
setElements(java.util.List<MetaAttribute> elements) |
void |
setUnique(boolean unique) |
java.lang.String |
toKeyString(java.lang.Object id) |
addChild, asDataObject, asType, duplicate, getChildren, getId, getName, getParent, hasId, setChildren, setId, setName, setParent, setParent, toStringpublic static final java.lang.String ID_ELEMENT_SEPARATOR
public java.util.List<MetaAttribute> getElements()
public void setElements(java.util.List<MetaAttribute> elements)
public boolean isUnique()
public void setUnique(boolean unique)
public MetaAttribute getUniqueElement()
public java.lang.String toKeyString(java.lang.Object id)