org.rhq.core.clientapi.descriptor.plugin
Class SubCategoryDescriptor

java.lang.Object
  extended by org.rhq.core.clientapi.descriptor.plugin.SubCategoryDescriptor

public class SubCategoryDescriptor
extends Object

Java class for subcategory complex type.

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

 <complexType name="subcategory">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:xmlns:rhq-plugin}subcategory" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String description
           
protected  String displayName
           
protected  String name
           
protected  List<SubCategoryDescriptor> subcategory
           
 
Constructor Summary
SubCategoryDescriptor()
           
 
Method Summary
 String getDescription()
          Gets the value of the description property.
 String getDisplayName()
          Gets the value of the displayName property.
 String getName()
          Gets the value of the name property.
 List<SubCategoryDescriptor> getSubcategory()
          Defines sub categories which are used to group together like resource types Gets the value of the subcategory property.
 void setDescription(String value)
          Sets the value of the description property.
 void setDisplayName(String value)
          Sets the value of the displayName property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subcategory

protected List<SubCategoryDescriptor> subcategory

description

protected String description

displayName

protected String displayName

name

protected String name
Constructor Detail

SubCategoryDescriptor

public SubCategoryDescriptor()
Method Detail

getSubcategory

public List<SubCategoryDescriptor> getSubcategory()
Defines sub categories which are used to group together like resource types Gets the value of the subcategory 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 subcategory property.

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

    getSubcategory().add(newItem);
 

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


getDescription

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

Returns:
possible object is String

setDescription

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

Parameters:
value - allowed object is String

getDisplayName

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

Returns:
possible object is String

setDisplayName

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

Parameters:
value - allowed object is String

getName

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

Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String


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