org.rhq.core.clientapi.descriptor.configuration
Class ConfigurationDescriptor

java.lang.Object
  extended by org.rhq.core.clientapi.descriptor.configuration.ConfigurationDescriptor
Direct Known Subclasses:
ConfigurationTemplateDescriptor

public class ConfigurationDescriptor
extends Object

Describes all configurable elements of a resource.

Java class for configuration complex type.

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

 <complexType name="configuration">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element ref="{urn:xmlns:rhq-configuration}configuration-property" maxOccurs="unbounded" minOccurs="0"/>
         <element name="group" type="{urn:xmlns:rhq-configuration}propertyGroup" maxOccurs="unbounded" minOccurs="0"/>
         <element name="template" type="{urn:xmlns:rhq-configuration}configurationTemplate" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<javax.xml.bind.JAXBElement<? extends ConfigurationProperty>> configurationProperty
           
protected  List<PropertyGroup> group
           
protected  String notes
           
protected  List<ConfigurationTemplateDescriptor> template
           
 
Constructor Summary
ConfigurationDescriptor()
           
 
Method Summary
 List<javax.xml.bind.JAXBElement<? extends ConfigurationProperty>> getConfigurationProperty()
          Gets the value of the configurationProperty property.
 List<PropertyGroup> getGroup()
          Gets the value of the group property.
 String getNotes()
          Gets the value of the notes property.
 List<ConfigurationTemplateDescriptor> getTemplate()
          Gets the value of the template property.
 void setNotes(String value)
          Sets the value of the notes property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notes

protected String notes

configurationProperty

protected List<javax.xml.bind.JAXBElement<? extends ConfigurationProperty>> configurationProperty

group

protected List<PropertyGroup> group

template

protected List<ConfigurationTemplateDescriptor> template
Constructor Detail

ConfigurationDescriptor

public ConfigurationDescriptor()
Method Detail

getNotes

public String getNotes()
Gets the value of the notes property.

Returns:
possible object is String

setNotes

public void setNotes(String value)
Sets the value of the notes property.

Parameters:
value - allowed object is String

getConfigurationProperty

public List<javax.xml.bind.JAXBElement<? extends ConfigurationProperty>> getConfigurationProperty()
Gets the value of the configurationProperty 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 configurationProperty property.

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

    getConfigurationProperty().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<ListProperty> JAXBElement<ConfigurationProperty> JAXBElement<SimpleProperty> JAXBElement<MapProperty>


getGroup

public List<PropertyGroup> getGroup()
Gets the value of the group 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 group property.

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

    getGroup().add(newItem);
 

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


getTemplate

public List<ConfigurationTemplateDescriptor> getTemplate()
Gets the value of the template 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 template property.

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

    getTemplate().add(newItem);
 

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



Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.