Class Schema


  • public class Schema
    extends Object

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice maxOccurs="unbounded" minOccurs="0">
             <element name="ComplexType" type="{http://docs.oasis-open.org/odata/ns/edm}TComplexType"/>
             <element name="EntityType" type="{http://docs.oasis-open.org/odata/ns/edm}TEntityType"/>
             <element name="TypeDefinition" type="{http://docs.oasis-open.org/odata/ns/edm}TTypeDefinition"/>
             <element name="EnumType" type="{http://docs.oasis-open.org/odata/ns/edm}TEnumType"/>
             <element name="Action" type="{http://docs.oasis-open.org/odata/ns/edm}TAction"/>
             <element name="Function" type="{http://docs.oasis-open.org/odata/ns/edm}TFunction"/>
             <element name="Term" type="{http://docs.oasis-open.org/odata/ns/edm}TTerm"/>
             <element name="Annotations" type="{http://docs.oasis-open.org/odata/ns/edm}TAnnotations"/>
             <element name="EntityContainer" type="{http://docs.oasis-open.org/odata/ns/edm}TEntityContainer"/>
             <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation"/>
           </choice>
           <attribute name="Namespace" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TNamespaceName" />
           <attribute name="Alias" type="{http://docs.oasis-open.org/odata/ns/edm}TSimpleIdentifier" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • complexTypeOrEntityTypeOrTypeDefinition

        protected List<Object> complexTypeOrEntityTypeOrTypeDefinition
      • namespace

        protected String namespace
      • alias

        protected String alias
    • Constructor Detail

      • Schema

        public Schema()
    • Method Detail

      • getComplexTypeOrEntityTypeOrTypeDefinition

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

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

            getComplexTypeOrEntityTypeOrTypeDefinition().add(newItem);
         

        Objects of the following type(s) are allowed in the list TComplexType TEntityType TTypeDefinition TEnumType TAction TFunction TTerm TAnnotations TEntityContainer Annotation

      • getNamespace

        public String getNamespace()
        Gets the value of the namespace property.
        Returns:
        possible object is String
      • setNamespace

        public void setNamespace​(String value)
        Sets the value of the namespace property.
        Parameters:
        value - allowed object is String
      • getAlias

        public String getAlias()
        Gets the value of the alias property.
        Returns:
        possible object is String
      • setAlias

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