com.ibm.ram.internal.jaxb
Class Category

java.lang.Object
  extended by com.ibm.ram.internal.jaxb.Category

public class Category
extends java.lang.Object

Java class for Category complex type.

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

 <complexType name="Category">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="displayPath" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="subCategory" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Category" maxOccurs="unbounded" minOccurs="0"/>
         <element name="parentCategory" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link"/>
         <element name="categorySchema" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link"/>
       </sequence>
       <attGroup ref="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}resourceAttrs"/>
       <attribute name="identifier" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String base
           
protected  Link<CategorySchema> categorySchema
           
protected  java.lang.String description
           
protected  java.lang.String displayPath
           
protected  java.lang.String etag
           
protected  boolean exclusive
           
protected  java.lang.String href
           
protected  java.lang.String identifier
           
protected  java.lang.String lang
           
protected  java.lang.String name
           
protected  Link<Category> parentCategory
           
protected  java.lang.String space
           
protected  java.util.List<Category> subCategories
           
 
Constructor Summary
Category()
           
 
Method Summary
 java.lang.String getBase()
          Gets the value of the base property.
 Link<CategorySchema> getCategorySchema()
          Gets the value of the categorySchema property.
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getDisplayPath()
          Gets the value of the displayPath property.
 java.lang.String getEtag()
          Gets the value of the etag property.
 java.lang.String getHref()
          Gets the value of the href property.
 java.lang.String getIdentifier()
          Gets the value of the identifier property.
 java.lang.String getLang()
          Gets the value of the lang property.
 java.lang.String getName()
          Gets the value of the name property.
 Link<Category> getParentCategory()
          Gets the value of the parentCategory property.
 java.lang.String getSpace()
          Gets the value of the space property.
 java.util.List<Category> getSubCategories()
          Gets the value of the subCategories property.
 boolean isExclusive()
          Are the children of this category exclusive or not.
 void setBase(java.lang.String value)
          Sets the value of the base property.
 void setCategorySchema(Link<CategorySchema> value)
          Sets the value of the categorySchema property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setDisplayPath(java.lang.String value)
          Sets the value of the displayPath property.
 void setEtag(java.lang.String value)
          Sets the value of the etag property.
 void setExclusive(boolean exclusive)
           
 void setHref(java.lang.String value)
          Sets the value of the href property.
 void setIdentifier(java.lang.String value)
          Sets the value of the identifier property.
 void setLang(java.lang.String value)
          Sets the value of the lang property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setParentCategory(Link<Category> value)
          Sets the value of the parentCategory property.
 void setSpace(java.lang.String value)
          Sets the value of the space property.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

description

protected java.lang.String description

displayPath

protected java.lang.String displayPath

exclusive

protected boolean exclusive

subCategories

protected java.util.List<Category> subCategories

parentCategory

protected Link<Category> parentCategory

categorySchema

protected Link<CategorySchema> categorySchema

identifier

protected java.lang.String identifier

etag

protected java.lang.String etag

href

protected java.lang.String href

base

protected java.lang.String base

lang

protected java.lang.String lang

space

protected java.lang.String space
Constructor Detail

Category

public Category()
Method Detail

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

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

getDisplayPath

public java.lang.String getDisplayPath()
Gets the value of the displayPath property.

Returns:
possible object is String

setDisplayPath

public void setDisplayPath(java.lang.String value)
Sets the value of the displayPath property.

Parameters:
value - allowed object is String

getSubCategories

public java.util.List<Category> getSubCategories()
Gets the value of the subCategories 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 subCategories property.

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

    getSubCategories().add(newItem);
 

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


getParentCategory

public Link<Category> getParentCategory()
Gets the value of the parentCategory property.

Returns:
possible object is Link

setParentCategory

public void setParentCategory(Link<Category> value)
Sets the value of the parentCategory property.

Parameters:
value - allowed object is Link

getCategorySchema

public Link<CategorySchema> getCategorySchema()
Gets the value of the categorySchema property.

Returns:
possible object is Link

setCategorySchema

public void setCategorySchema(Link<CategorySchema> value)
Sets the value of the categorySchema property.

Parameters:
value - allowed object is Link

getIdentifier

public java.lang.String getIdentifier()
Gets the value of the identifier property.

Returns:
possible object is String

setIdentifier

public void setIdentifier(java.lang.String value)
Sets the value of the identifier property.

Parameters:
value - allowed object is String

getEtag

public java.lang.String getEtag()
Gets the value of the etag property.

Returns:
possible object is String

setEtag

public void setEtag(java.lang.String value)
Sets the value of the etag property.

Parameters:
value - allowed object is String

getHref

public java.lang.String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(java.lang.String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getBase

public java.lang.String getBase()
Gets the value of the base property.

Returns:
possible object is String

setBase

public void setBase(java.lang.String value)
Sets the value of the base property.

Parameters:
value - allowed object is String

getLang

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

Returns:
possible object is String

setLang

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

Parameters:
value - allowed object is String

getSpace

public java.lang.String getSpace()
Gets the value of the space property.

Returns:
possible object is String

setSpace

public void setSpace(java.lang.String value)
Sets the value of the space property.

Parameters:
value - allowed object is String

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isExclusive

public boolean isExclusive()
Are the children of this category exclusive or not.

Returns:
Returns if exclusive.
Since:
7.5.0.1

setExclusive

public void setExclusive(boolean exclusive)
Parameters:
exclusive - The exclusive to set.
Since:
7.5.0.1