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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
alias |
protected List<Object> |
complexTypeOrEntityTypeOrTypeDefinition |
protected String |
namespace |
| Constructor and Description |
|---|
Schema() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias()
Gets the value of the alias property.
|
List<Object> |
getComplexTypeOrEntityTypeOrTypeDefinition()
Gets the value of the complexTypeOrEntityTypeOrTypeDefinition property.
|
String |
getNamespace()
Gets the value of the namespace property.
|
void |
setAlias(String value)
Sets the value of the alias property.
|
void |
setNamespace(String value)
Sets the value of the namespace property.
|
protected List<Object> complexTypeOrEntityTypeOrTypeDefinition
protected String namespace
protected String alias
public List<Object> getComplexTypeOrEntityTypeOrTypeDefinition()
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
public String getNamespace()
Stringpublic void setNamespace(String value)
value - allowed object is
Stringpublic String getAlias()
StringCopyright © 2018–2020. All rights reserved.