public class TTerm extends Object
Java class for TTerm complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TTerm">
<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>
<attGroup ref="{http://docs.oasis-open.org/odata/ns/edm}TFacetAttributes"/>
<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="BaseTerm" type="{http://docs.oasis-open.org/odata/ns/edm}TQualifiedName" />
<attribute name="Nullable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="DefaultValue" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="AppliesTo" type="{http://docs.oasis-open.org/odata/ns/edm}TAppliesTo" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Annotation> |
annotation |
protected List<String> |
appliesTo |
protected String |
baseTerm |
protected String |
defaultValue |
protected String |
maxLength |
protected String |
name |
protected Boolean |
nullable |
protected BigInteger |
precision |
protected String |
scale |
protected String |
srid |
protected List<String> |
type |
protected Boolean |
unicode |
| Constructor and Description |
|---|
TTerm() |
| Modifier and Type | Method and Description |
|---|---|
List<Annotation> |
getAnnotation()
Gets the value of the annotation property.
|
List<String> |
getAppliesTo()
Gets the value of the appliesTo property.
|
String |
getBaseTerm()
Gets the value of the baseTerm property.
|
String |
getDefaultValue()
Gets the value of the defaultValue property.
|
String |
getMaxLength()
Gets the value of the maxLength property.
|
String |
getName()
Gets the value of the name property.
|
BigInteger |
getPrecision()
Gets the value of the precision property.
|
String |
getScale()
Gets the value of the scale property.
|
String |
getSRID()
Gets the value of the srid property.
|
List<String> |
getType()
Gets the value of the type property.
|
Boolean |
isNullable()
Gets the value of the nullable property.
|
Boolean |
isUnicode()
Gets the value of the unicode property.
|
void |
setBaseTerm(String value)
Sets the value of the baseTerm property.
|
void |
setDefaultValue(String value)
Sets the value of the defaultValue property.
|
void |
setMaxLength(String value)
Sets the value of the maxLength property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNullable(Boolean value)
Sets the value of the nullable property.
|
void |
setPrecision(BigInteger value)
Sets the value of the precision property.
|
void |
setScale(String value)
Sets the value of the scale property.
|
void |
setSRID(String value)
Sets the value of the srid property.
|
void |
setUnicode(Boolean value)
Sets the value of the unicode property.
|
protected List<Annotation> annotation
protected String name
protected String baseTerm
protected Boolean nullable
protected String defaultValue
protected String maxLength
protected BigInteger precision
protected String scale
protected String srid
protected Boolean unicode
public List<Annotation> getAnnotation()
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
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic List<String> getType()
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
public String getBaseTerm()
Stringpublic void setBaseTerm(String value)
value - allowed object is
Stringpublic Boolean isNullable()
Booleanpublic void setNullable(Boolean value)
value - allowed object is
Booleanpublic String getDefaultValue()
Stringpublic void setDefaultValue(String value)
value - allowed object is
Stringpublic List<String> getAppliesTo()
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 appliesTo property.
For example, to add a new item, do as follows:
getAppliesTo().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getMaxLength()
Stringpublic void setMaxLength(String value)
value - allowed object is
Stringpublic BigInteger getPrecision()
BigIntegerpublic void setPrecision(BigInteger value)
value - allowed object is
BigIntegerpublic String getScale()
Stringpublic void setScale(String value)
value - allowed object is
Stringpublic String getSRID()
Stringpublic void setSRID(String value)
value - allowed object is
Stringpublic Boolean isUnicode()
BooleanCopyright © 2018–2020. All rights reserved.