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 java.lang.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  java.util.List<javax.xml.bind.JAXBElement<? extends ConfigurationProperty>> configurationProperty
           
protected  java.util.List<PropertyGroup> group
           
protected  java.lang.String notes
           
protected  java.util.List<ConfigurationTemplateDescriptor> template
           
 
Constructor Summary
ConfigurationDescriptor()
           
 
Method Summary
 java.util.List<javax.xml.bind.JAXBElement<? extends ConfigurationProperty>> getConfigurationProperty()
          Gets the value of the configurationProperty property.
 java.util.List<PropertyGroup> getGroup()
          Gets the value of the group property.
 java.lang.String getNotes()
          Gets the value of the notes property.
 java.util.List<ConfigurationTemplateDescriptor> getTemplate()
          Gets the value of the template property.
 void setNotes(java.lang.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 java.lang.String notes

configurationProperty

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

group

protected java.util.List<PropertyGroup> group

template

protected java.util.List<ConfigurationTemplateDescriptor> template
Constructor Detail

ConfigurationDescriptor

public ConfigurationDescriptor()
Method Detail

getNotes

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

Returns:
possible object is String

setNotes

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

Parameters:
value - allowed object is String

getConfigurationProperty

public java.util.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<MapProperty> JAXBElement<ConfigurationProperty> JAXBElement<SimpleProperty>


getGroup

public java.util.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 java.util.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.