Class Key
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.Key
Objects of this class represent a key for an entity type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKeys()setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the List ofAnnotationAttributefor thisKeysetAnnotationElements(List<AnnotationElement> annotationElements) Sets the List ofAnnotationElementfor thisKeysetKeys(List<PropertyRef> keys)
-
Constructor Details
-
Key
public Key()
-
-
Method Details
-
getKeys
- Returns:
- List<
PropertyRef> references to the key properties
-
getAnnotationAttributes
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
- Returns:
- List of
AnnotationElementannotation elements
-
setKeys
- Parameters:
keys-- Returns:
Keyfor method chaining
-
setAnnotationAttributes
Sets the List ofAnnotationAttributefor thisKey- Parameters:
annotationAttributes-- Returns:
Keyfor method chaining
-
setAnnotationElements
Sets the List ofAnnotationElementfor thisKey- Parameters:
annotationElements-- Returns:
Keyfor method chaining
-