Class CsdlReferentialConstraint

java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlReferentialConstraint
All Implemented Interfaces:
CsdlAnnotatable

public class CsdlReferentialConstraint extends CsdlAbstractEdmItem implements CsdlAnnotatable
The type Csdl referential constraint.
  • Constructor Details

    • CsdlReferentialConstraint

      public CsdlReferentialConstraint()
  • Method Details

    • getProperty

      public String getProperty()
      Gets property.
      Returns:
      the property
    • setProperty

      public CsdlReferentialConstraint setProperty(String property)
      Sets property.
      Parameters:
      property - the property
      Returns:
      the property
    • getReferencedProperty

      public String getReferencedProperty()
      Gets referenced property.
      Returns:
      the referenced property
    • setReferencedProperty

      public CsdlReferentialConstraint setReferencedProperty(String referencedProperty)
      Sets referenced property.
      Parameters:
      referencedProperty - the referenced property
      Returns:
      the referenced property
    • getAnnotations

      public List<CsdlAnnotation> getAnnotations()
      Description copied from interface: CsdlAnnotatable
      Returns a list of annotations
      Specified by:
      getAnnotations in interface CsdlAnnotatable
      Returns:
      list of annotations
    • setAnnotations

      public CsdlReferentialConstraint setAnnotations(List<CsdlAnnotation> annotations)
      Sets a list of annotations
      Parameters:
      annotations - list of annotations
      Returns:
      this instance