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>
| name | data type | description |
|---|---|---|
| Option | array of Toption | |
| any | array of object | |
| id | string | |
| max | string | |
| min | string | |
| name | string | |
| type | Tscalar | |
| default | string | |
| required | boolean | |
| otherAttributes | map of string | |
| cardinality | number | |
| description | string |
Example
{
"Option" : [ {
"any" : [ { }, { } ],
"label" : "...",
"value" : "...",
"otherAttributes" : {
"property1" : "...",
"property2" : "..."
}
}, {
"any" : [ { }, { } ],
"label" : "...",
"value" : "...",
"otherAttributes" : {
"property1" : "...",
"property2" : "..."
}
} ],
"any" : [ { }, { } ],
"id" : "...",
"max" : "...",
"min" : "...",
"name" : "...",
"type" : "Integer",
"default" : "...",
"required" : true,
"otherAttributes" : {
"property1" : "...",
"property2" : "..."
},
"cardinality" : 12345,
"description" : "..."
}