Class EdmKeyImpl
- java.lang.Object
-
- org.apache.olingo.odata2.client.core.edm.Impl.EdmKeyImpl
-
public class EdmKeyImpl extends Object
Objects of this class represent a key for an entity type
-
-
Constructor Summary
Constructors Constructor Description EdmKeyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.apache.olingo.odata2.api.edm.EdmAnnotationAttribute>getAnnotationAttributes()List<org.apache.olingo.odata2.api.edm.EdmAnnotationElement>getAnnotationElements()List<org.apache.olingo.odata2.api.edm.EdmProperty>getKeys()EdmKeyImplsetAnnotationAttributes(List<org.apache.olingo.odata2.api.edm.EdmAnnotationAttribute> annotationAttributes)Sets the List ofAnnotationAttributefor thisEdmKeyImplEdmKeyImplsetAnnotationElements(List<org.apache.olingo.odata2.api.edm.EdmAnnotationElement> annotationElements)Sets the List ofAnnotationElementfor thisEdmKeyImplEdmKeyImplsetKeys(List<org.apache.olingo.odata2.api.edm.EdmProperty> keys)StringtoString()
-
-
-
Method Detail
-
getKeys
public List<org.apache.olingo.odata2.api.edm.EdmProperty> getKeys()
- Returns:
- List<
PropertyRef> references to the key properties
-
getAnnotationAttributes
public List<org.apache.olingo.odata2.api.edm.EdmAnnotationAttribute> getAnnotationAttributes()
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
public List<org.apache.olingo.odata2.api.edm.EdmAnnotationElement> getAnnotationElements()
- Returns:
- List of
AnnotationElementannotation elements
-
setKeys
public EdmKeyImpl setKeys(List<org.apache.olingo.odata2.api.edm.EdmProperty> keys)
- Parameters:
keys-- Returns:
EdmKeyImplfor method chaining
-
setAnnotationAttributes
public EdmKeyImpl setAnnotationAttributes(List<org.apache.olingo.odata2.api.edm.EdmAnnotationAttribute> annotationAttributes)
Sets the List ofAnnotationAttributefor thisEdmKeyImpl- Parameters:
annotationAttributes-- Returns:
EdmKeyImplfor method chaining
-
setAnnotationElements
public EdmKeyImpl setAnnotationElements(List<org.apache.olingo.odata2.api.edm.EdmAnnotationElement> annotationElements)
Sets the List ofAnnotationElementfor thisEdmKeyImpl- Parameters:
annotationElements-- Returns:
EdmKeyImplfor method chaining
-
-