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 of AnnotationAttribute for thisEdmKeyImplEdmKeyImplsetAnnotationElements(List<org.apache.olingo.odata2.api.edm.EdmAnnotationElement> annotationElements)Sets the List of AnnotationElement for thisEdmKeyImplEdmKeyImplsetKeys(List<org.apache.olingo.odata2.api.edm.EdmProperty> keys)Sets the Properties by theirEdmPropertyfor thisEdmKeyImplStringtoString()
-
-
-
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 AnnotationAttribute annotation attributes
-
getAnnotationElements
public List<org.apache.olingo.odata2.api.edm.EdmAnnotationElement> getAnnotationElements()
- Returns:
- List of AnnotationElement annotation elements
-
setKeys
public EdmKeyImpl setKeys(List<org.apache.olingo.odata2.api.edm.EdmProperty> keys)
Sets the Properties by theirEdmPropertyfor thisEdmKeyImpl- Parameters:
keys- Chaves- Returns:
EdmKeyImplfor method chaining
-
setAnnotationAttributes
public EdmKeyImpl setAnnotationAttributes(List<org.apache.olingo.odata2.api.edm.EdmAnnotationAttribute> annotationAttributes)
Sets the List of AnnotationAttribute for thisEdmKeyImpl- Parameters:
annotationAttributes- Atributos- Returns:
EdmKeyImplfor method chaining
-
setAnnotationElements
public EdmKeyImpl setAnnotationElements(List<org.apache.olingo.odata2.api.edm.EdmAnnotationElement> annotationElements)
Sets the List of AnnotationElement for thisEdmKeyImpl- Parameters:
annotationElements- Elementos- Returns:
EdmKeyImplfor method chaining
-
-