public class Property extends Object
Java class for Property complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Property">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="aliasName" type="{commonj.sdo}String" maxOccurs="unbounded" minOccurs="0"/>
<any/>
</sequence>
<attribute name="name" type="{commonj.sdo}String" />
<attribute name="many" type="{commonj.sdo}Boolean" />
<attribute name="containment" type="{commonj.sdo}Boolean" />
<attribute name="default" type="{commonj.sdo}String" />
<attribute name="readOnly" type="{commonj.sdo}Boolean" />
<attribute name="type" type="{commonj.sdo}URI" />
<attribute name="opposite" type="{commonj.sdo}URI" />
<attribute name="nullable" type="{commonj.sdo}Boolean" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
_default |
protected List<String> |
aliasNames |
protected List<Element> |
anies |
protected Boolean |
containment |
protected Boolean |
many |
protected String |
name |
protected Boolean |
nullable |
protected String |
opposite |
protected Boolean |
readOnly |
protected String |
type |
| Constructor and Description |
|---|
Property() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAliasNames()
Gets the value of the aliasNames property.
|
List<Element> |
getAnies()
Gets the value of the anies property.
|
String |
getDefault()
Gets the value of the default property.
|
String |
getName()
Gets the value of the name property.
|
String |
getOpposite()
Gets the value of the opposite property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
String |
getType()
Gets the value of the type property.
|
Boolean |
isContainment()
Gets the value of the containment property.
|
Boolean |
isMany()
Gets the value of the many property.
|
Boolean |
isNullable()
Gets the value of the nullable property.
|
Boolean |
isReadOnly()
Gets the value of the readOnly property.
|
void |
setContainment(Boolean value)
Sets the value of the containment property.
|
void |
setDefault(String value)
Sets the value of the default property.
|
void |
setMany(Boolean value)
Sets the value of the many property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNullable(Boolean value)
Sets the value of the nullable property.
|
void |
setOpposite(String value)
Sets the value of the opposite property.
|
void |
setReadOnly(Boolean value)
Sets the value of the readOnly property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected String name
protected Boolean many
protected Boolean containment
protected String _default
protected Boolean readOnly
protected String type
protected String opposite
protected Boolean nullable
public List<String> getAliasNames()
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 aliasNames property.
For example, to add a new item, do as follows:
getAliasNames().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<Element> getAnies()
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 anies property.
For example, to add a new item, do as follows:
getAnies().add(newItem);
Objects of the following type(s) are allowed in the list
Element
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Boolean isMany()
Booleanpublic void setMany(Boolean value)
value - allowed object is
Booleanpublic Boolean isContainment()
Booleanpublic void setContainment(Boolean value)
value - allowed object is
Booleanpublic String getDefault()
Stringpublic void setDefault(String value)
value - allowed object is
Stringpublic Boolean isReadOnly()
Booleanpublic void setReadOnly(Boolean value)
value - allowed object is
Booleanpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getOpposite()
Stringpublic void setOpposite(String value)
value - allowed object is
Stringpublic Boolean isNullable()
Booleanpublic void setNullable(Boolean value)
value - allowed object is
Booleanpublic Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
Copyright © 2017. All rights reserved.