Designate element

Type: Tdesignate
Namespace: http://www.osgi.org/xmlns/metatype/v1.2.0
XML Schema: ocd.xsd

Java class for Tdesignate complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="Tdesignate">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Object" type="{http://www.osgi.org/xmlns/metatype/v1.2.0}Tobject"/>
<any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="pid" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="factoryPid" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="bundle" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="merge" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<anyAttribute/>
</restriction>
</complexContent>
</complexType>

Example XML

<?xml version="1.0" encoding="UTF-8"?> <Designate xmlns="http://www.osgi.org/xmlns/metatype/v1.2.0" pid="..." factoryPid="..." bundle="..." optional="..." merge="..."> <Object ocdref="..."> <Attribute adref="..." content="..."> <Value>...</Value> <Value>...</Value> <!--...more "Value" elements...--> </Attribute> <Attribute adref="..." content="..."> <!--...--> </Attribute> <!--...more "Attribute" elements...--> </Object> </Designate>

Example JSON

{ "pid" : "...", "factoryPid" : "...", "bundle" : "...", "optional" : false, "merge" : false, "Object" : { "ocdref" : "...", "Attribute" : [ { "adref" : "...", "content" : "...", "Value" : [ "...", ... ] }, ... ] } }