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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected String |
name |
protected List<SubCategoryDescriptor> |
subcategory |
| Constructor and Description |
|---|
SubCategoryDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected List<SubCategoryDescriptor> subcategory
protected String description
protected String displayName
protected String name
public List<SubCategoryDescriptor> getSubcategory()
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
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getDisplayName()
Stringpublic void setDisplayName(String value)
value - allowed object is
Stringpublic String getName()
StringCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.