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

java.lang.Object
  extended by org.rhq.core.clientapi.descriptor.configuration.ConfigurationProperty
Direct Known Subclasses:
ListProperty, MapProperty, SimpleProperty

public class ConfigurationProperty
extends java.lang.Object

Base class for all configuration properties.

Java class for configurationProperty complex type.

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

 <complexType name="configurationProperty">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <whiteSpace value="collapse"/>
               <minLength value="1"/>
               <maxLength value="4000"/>
             </restriction>
           </simpleType>
         </element>
       </sequence>
       <attribute name="description">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <whiteSpace value="collapse"/>
             <minLength value="1"/>
             <maxLength value="1000"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="displayName">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <whiteSpace value="collapse"/>
             <minLength value="1"/>
             <maxLength value="100"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="name" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <whiteSpace value="collapse"/>
             <minLength value="1"/>
             <maxLength value="255"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="readOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="summary" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String description
           
protected  java.lang.String displayName
           
protected  java.lang.String longDescription
           
protected  java.lang.String name
           
protected  java.lang.Boolean readOnly
           
protected  java.lang.Boolean required
           
protected  java.lang.Boolean summary
           
 
Constructor Summary
ConfigurationProperty()
           
 
Method Summary
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getDisplayName()
          Gets the value of the displayName property.
 java.lang.String getLongDescription()
          Gets the value of the longDescription property.
 java.lang.String getName()
          Gets the value of the name property.
 boolean isReadOnly()
          Gets the value of the readOnly property.
 boolean isRequired()
          Gets the value of the required property.
 boolean isSummary()
          Gets the value of the summary property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setDisplayName(java.lang.String value)
          Sets the value of the displayName property.
 void setLongDescription(java.lang.String value)
          Sets the value of the longDescription property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setReadOnly(java.lang.Boolean value)
          Sets the value of the readOnly property.
 void setRequired(java.lang.Boolean value)
          Sets the value of the required property.
 void setSummary(java.lang.Boolean value)
          Sets the value of the summary property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

longDescription

protected java.lang.String longDescription

description

protected java.lang.String description

displayName

protected java.lang.String displayName

name

protected java.lang.String name

readOnly

protected java.lang.Boolean readOnly

required

protected java.lang.Boolean required

summary

protected java.lang.Boolean summary
Constructor Detail

ConfigurationProperty

public ConfigurationProperty()
Method Detail

getLongDescription

public java.lang.String getLongDescription()
Gets the value of the longDescription property.

Returns:
possible object is String

setLongDescription

public void setLongDescription(java.lang.String value)
Sets the value of the longDescription property.

Parameters:
value - allowed object is String

getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getDisplayName

public java.lang.String getDisplayName()
Gets the value of the displayName property.

Returns:
possible object is String

setDisplayName

public void setDisplayName(java.lang.String value)
Sets the value of the displayName property.

Parameters:
value - allowed object is String

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isReadOnly

public boolean isReadOnly()
Gets the value of the readOnly property.

Returns:
possible object is Boolean

setReadOnly

public void setReadOnly(java.lang.Boolean value)
Sets the value of the readOnly property.

Parameters:
value - allowed object is Boolean

isRequired

public boolean isRequired()
Gets the value of the required property.

Returns:
possible object is Boolean

setRequired

public void setRequired(java.lang.Boolean value)
Sets the value of the required property.

Parameters:
value - allowed object is Boolean

isSummary

public boolean isSummary()
Gets the value of the summary property.

Returns:
possible object is Boolean

setSummary

public void setSummary(java.lang.Boolean value)
Sets the value of the summary property.

Parameters:
value - allowed object is Boolean


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