Class EdmKeyImpl


  • public class EdmKeyImpl
    extends Object
    Objects of this class represent a key for an entity type
    • Constructor Detail

      • EdmKeyImpl

        public EdmKeyImpl()
    • 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 their EdmProperty for this EdmKeyImpl
        Parameters:
        keys - Chaves
        Returns:
        EdmKeyImpl for method chaining
      • setAnnotationAttributes

        public EdmKeyImpl setAnnotationAttributes​(List<org.apache.olingo.odata2.api.edm.EdmAnnotationAttribute> annotationAttributes)
        Sets the List of AnnotationAttribute for this EdmKeyImpl
        Parameters:
        annotationAttributes - Atributos
        Returns:
        EdmKeyImpl for method chaining
      • setAnnotationElements

        public EdmKeyImpl setAnnotationElements​(List<org.apache.olingo.odata2.api.edm.EdmAnnotationElement> annotationElements)
        Sets the List of AnnotationElement for this EdmKeyImpl
        Parameters:
        annotationElements - Elementos
        Returns:
        EdmKeyImpl for method chaining