org.rhq.core.clientapi.descriptor.plugin
Class ResourceDescriptor.Subcategories

java.lang.Object
  extended by org.rhq.core.clientapi.descriptor.plugin.ResourceDescriptor.Subcategories
Enclosing class:
ResourceDescriptor

public static class ResourceDescriptor.Subcategories
extends Object

Java class for anonymous complex type.

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

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


Field Summary
protected  List<SubCategoryDescriptor> subcategory
           
 
Constructor Summary
ResourceDescriptor.Subcategories()
           
 
Method Summary
 List<SubCategoryDescriptor> getSubcategory()
          Gets the value of the subcategory 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
Constructor Detail

ResourceDescriptor.Subcategories

public ResourceDescriptor.Subcategories()
Method Detail

getSubcategory

public List<SubCategoryDescriptor> getSubcategory()
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



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