com.eurotech.framework.core.configuration.metatype
Class Tdesignate

java.lang.Object
  extended by com.eurotech.framework.core.configuration.metatype.Tdesignate
All Implemented Interfaces:
Designate

public class Tdesignate
extends Object
implements Designate

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>
 


Field Summary
protected  List<Object> any
           
protected  String bundle
           
protected  String factoryPid
           
protected  Boolean merge
           
protected  Tobject object
           
protected  Boolean optional
           
protected  String pid
           
 
Constructor Summary
Tdesignate()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 String getBundle()
          Gets the value of the bundle property.
 String getFactoryPid()
          Gets the value of the factoryPid property.
 Tobject getObject()
          Gets the value of the object property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 String getPid()
          Gets the value of the pid property.
 boolean isMerge()
          Gets the value of the merge property.
 boolean isOptional()
          Gets the value of the optional property.
 void setBundle(String value)
          Sets the value of the bundle property.
 void setFactoryPid(String value)
          Sets the value of the factoryPid property.
 void setMerge(Boolean value)
          Sets the value of the merge property.
 void setObject(Tobject value)
          Sets the value of the object property.
 void setOptional(Boolean value)
          Sets the value of the optional property.
 void setPid(String value)
          Sets the value of the pid property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

object

protected Tobject object

any

protected List<Object> any

pid

protected String pid

factoryPid

protected String factoryPid

bundle

protected String bundle

optional

protected Boolean optional

merge

protected Boolean merge
Constructor Detail

Tdesignate

public Tdesignate()
Method Detail

getObject

public Tobject getObject()
Gets the value of the object property.

Specified by:
getObject in interface Designate
Returns:
possible object is Tobject

setObject

public void setObject(Tobject value)
Sets the value of the object property.

Parameters:
value - allowed object is Tobject

getAny

public List<Object> getAny()
Gets the value of the any property.

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 any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Element Object


getPid

public String getPid()
Gets the value of the pid property.

Specified by:
getPid in interface Designate
Returns:
possible object is String

setPid

public void setPid(String value)
Sets the value of the pid property.

Parameters:
value - allowed object is String

getFactoryPid

public String getFactoryPid()
Gets the value of the factoryPid property.

Specified by:
getFactoryPid in interface Designate
Returns:
possible object is String

setFactoryPid

public void setFactoryPid(String value)
Sets the value of the factoryPid property.

Parameters:
value - allowed object is String

getBundle

public String getBundle()
Gets the value of the bundle property.

Specified by:
getBundle in interface Designate
Returns:
possible object is String

setBundle

public void setBundle(String value)
Sets the value of the bundle property.

Parameters:
value - allowed object is String

isOptional

public boolean isOptional()
Gets the value of the optional property.

Specified by:
isOptional in interface Designate
Returns:
possible object is Boolean

setOptional

public void setOptional(Boolean value)
Sets the value of the optional property.

Parameters:
value - allowed object is Boolean

isMerge

public boolean isMerge()
Gets the value of the merge property.

Specified by:
isMerge in interface Designate
Returns:
possible object is Boolean

setMerge

public void setMerge(Boolean value)
Sets the value of the merge property.

Parameters:
value - allowed object is Boolean

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

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.

Returns:
always non-null


Copyright © 2013. All Rights Reserved.