Class Key
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.Key
-
public class Key extends Object
Objects of this class represent a key for an entity type
-
-
Constructor Summary
Constructors Constructor Description Key()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AnnotationAttribute>getAnnotationAttributes()List<AnnotationElement>getAnnotationElements()List<PropertyRef>getKeys()KeysetAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)Sets the List ofAnnotationAttributefor thisKeyKeysetAnnotationElements(List<AnnotationElement> annotationElements)Sets the List ofAnnotationElementfor thisKeyKeysetKeys(List<PropertyRef> keys)
-
-
-
Method Detail
-
getKeys
public List<PropertyRef> getKeys()
- Returns:
- List<
PropertyRef> references to the key properties
-
getAnnotationAttributes
public List<AnnotationAttribute> getAnnotationAttributes()
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
public List<AnnotationElement> getAnnotationElements()
- Returns:
- List of
AnnotationElementannotation elements
-
setKeys
public Key setKeys(List<PropertyRef> keys)
- Parameters:
keys- Chaves- Returns:
Keyfor method chaining
-
setAnnotationAttributes
public Key setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the List ofAnnotationAttributefor thisKey- Parameters:
annotationAttributes- Atributos- Returns:
Keyfor method chaining
-
setAnnotationElements
public Key setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the List ofAnnotationElementfor thisKey- Parameters:
annotationElements- Elementos- Returns:
Keyfor method chaining
-
-