Class TReferentialConstraint


  • public class TReferentialConstraint
    extends Object

    Java class for TReferentialConstraint complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="TReferentialConstraint">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="Property" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TPath" />
           <attribute name="ReferencedProperty" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TPath" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • property

        protected String property
      • referencedProperty

        protected String referencedProperty
    • Constructor Detail

      • TReferentialConstraint

        public TReferentialConstraint()
    • Method Detail

      • getAnnotation

        public List<Annotation> getAnnotation()
        Gets the value of the annotation property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the annotation property.

        For example, to add a new item, do as follows:

            getAnnotation().add(newItem);
         

        Objects of the following type(s) are allowed in the list Annotation

      • getProperty

        public String getProperty()
        Gets the value of the property property.
        Returns:
        possible object is String
      • setProperty

        public void setProperty​(String value)
        Sets the value of the property property.
        Parameters:
        value - allowed object is String
      • getReferencedProperty

        public String getReferencedProperty()
        Gets the value of the referencedProperty property.
        Returns:
        possible object is String
      • setReferencedProperty

        public void setReferencedProperty​(String value)
        Sets the value of the referencedProperty property.
        Parameters:
        value - allowed object is String