|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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>
Method Summary | |
---|---|
int |
getCardinality()
Gets the value of the cardinality property. |
String |
getDefault()
Gets the value of the default property. |
String |
getDescription()
Gets the value of the description property. |
String |
getId()
Gets the value of the id property. |
String |
getMax()
Gets the value of the max property. |
String |
getMin()
Gets the value of the min property. |
String |
getName()
Gets the value of the name property. |
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. |
Method Detail |
---|
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
String getName()
String
String getDescription()
String
String getId()
String
Scalar getType()
Scalar
int getCardinality()
Integer
String getMin()
String
String getMax()
String
String getDefault()
String
boolean isRequired()
Boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |