Package org.oasisopen.odata.csdl.v4
Class TComplexType
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TComplexType
-
public class TComplexType extends Object
Java class for TComplexType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TComplexType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <element name="Property" type="{http://docs.oasis-open.org/odata/ns/edm}TProperty"/> <element name="NavigationProperty" type="{http://docs.oasis-open.org/odata/ns/edm}TNavigationProperty"/> <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation"/> </choice> <attGroup ref="{http://docs.oasis-open.org/odata/ns/edm}TDerivableTypeAttributes"/> <attribute name="OpenType" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description TComplexType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBaseType()Gets the value of the baseType property.StringgetName()Gets the value of the name property.List<Object>getPropertyOrNavigationPropertyOrAnnotation()Gets the value of the propertyOrNavigationPropertyOrAnnotation property.booleanisAbstract()Gets the value of the abstract property.booleanisOpenType()Gets the value of the openType property.voidsetAbstract(Boolean value)Sets the value of the abstract property.voidsetBaseType(String value)Sets the value of the baseType property.voidsetName(String value)Sets the value of the name property.voidsetOpenType(Boolean value)Sets the value of the openType property.
-
-
-
Method Detail
-
getPropertyOrNavigationPropertyOrAnnotation
public List<Object> getPropertyOrNavigationPropertyOrAnnotation()
Gets the value of the propertyOrNavigationPropertyOrAnnotation 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
setmethod for the propertyOrNavigationPropertyOrAnnotation property.For example, to add a new item, do as follows:
getPropertyOrNavigationPropertyOrAnnotation().add(newItem);Objects of the following type(s) are allowed in the list
TPropertyTNavigationPropertyAnnotation
-
isOpenType
public boolean isOpenType()
Gets the value of the openType property.- Returns:
- possible object is
Boolean
-
setOpenType
public void setOpenType(Boolean value)
Sets the value of the openType property.- Parameters:
value- allowed object isBoolean
-
getBaseType
public String getBaseType()
Gets the value of the baseType property.- Returns:
- possible object is
String
-
setBaseType
public void setBaseType(String value)
Sets the value of the baseType property.- Parameters:
value- allowed object isString
-
isAbstract
public boolean isAbstract()
Gets the value of the abstract property.- Returns:
- possible object is
Boolean
-
setAbstract
public void setAbstract(Boolean value)
Sets the value of the abstract property.- Parameters:
value- allowed object isBoolean
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
-