@ProviderType
public interface AD
Java class for Tad complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Tad">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Option" type="{http://www.osgi.org/xmlns/metatype/v1.2.0}Toption" maxOccurs="unbounded" minOccurs="0"/>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" use="required" type="{http://www.osgi.org/xmlns/metatype/v1.2.0}Tscalar" />
<attribute name="cardinality" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
<attribute name="min" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="max" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<anyAttribute/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Method and Description |
|---|---|
int |
getCardinality()
Gets the value of the cardinality property.
|
java.lang.String |
getDefault()
Gets the value of the default property.
|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.String |
getMax()
Gets the value of the max property.
|
java.lang.String |
getMin()
Gets the value of the min property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.util.List<Option> |
getOption()
Gets the value of the option property.
|
Scalar |
getType()
Gets the value of the type property.
|
boolean |
isRequired()
Gets the value of the required property.
|
java.util.List<Option> getOption()
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 option property.
For example, to add a new item, do as follows:
getOption().add(newItem);
Objects of the following type(s) are allowed in the list
Option
java.lang.String getName()
Stringjava.lang.String getDescription()
Stringjava.lang.String getId()
Stringint getCardinality()
Integerjava.lang.String getMin()
Stringjava.lang.String getMax()
Stringjava.lang.String getDefault()
Stringboolean isRequired()
Boolean