Class TNavigationProperty


  • public class TNavigationProperty
    extends Object

    Java class for TNavigationProperty complex type.

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

     <complexType name="TNavigationProperty">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice maxOccurs="unbounded" minOccurs="0">
             <element name="ReferentialConstraint" type="{http://docs.oasis-open.org/odata/ns/edm}TReferentialConstraint"/>
             <element name="OnDelete" type="{http://docs.oasis-open.org/odata/ns/edm}TOnDelete"/>
             <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation"/>
           </choice>
           <attribute name="Name" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TSimpleIdentifier" />
           <attribute name="Type" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TTypeName" />
           <attribute name="Nullable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="Partner" type="{http://docs.oasis-open.org/odata/ns/edm}TPath" />
           <attribute name="ContainsTarget" type="{http://www.w3.org/2001/XMLSchema}boolean" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • referentialConstraintOrOnDeleteOrAnnotation

        protected List<Object> referentialConstraintOrOnDeleteOrAnnotation
      • nullable

        protected Boolean nullable
      • partner

        protected String partner
      • containsTarget

        protected Boolean containsTarget
    • Constructor Detail

      • TNavigationProperty

        public TNavigationProperty()
    • Method Detail

      • getReferentialConstraintOrOnDeleteOrAnnotation

        public List<Object> getReferentialConstraintOrOnDeleteOrAnnotation()
        Gets the value of the referentialConstraintOrOnDeleteOrAnnotation 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 referentialConstraintOrOnDeleteOrAnnotation property.

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

            getReferentialConstraintOrOnDeleteOrAnnotation().add(newItem);
         

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

      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getType

        public List<String> getType()
        Gets the value of the type 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 type property.

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

            getType().add(newItem);
         

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

      • isNullable

        public Boolean isNullable()
        Gets the value of the nullable property.
        Returns:
        possible object is Boolean
      • setNullable

        public void setNullable​(Boolean value)
        Sets the value of the nullable property.
        Parameters:
        value - allowed object is Boolean
      • getPartner

        public String getPartner()
        Gets the value of the partner property.
        Returns:
        possible object is String
      • setPartner

        public void setPartner​(String value)
        Sets the value of the partner property.
        Parameters:
        value - allowed object is String
      • isContainsTarget

        public Boolean isContainsTarget()
        Gets the value of the containsTarget property.
        Returns:
        possible object is Boolean
      • setContainsTarget

        public void setContainsTarget​(Boolean value)
        Sets the value of the containsTarget property.
        Parameters:
        value - allowed object is Boolean