com.ibm.cics.atomservice
Class CollectionType

java.lang.Object
  extended by com.ibm.cics.atomservice.CollectionType

public class CollectionType
extends java.lang.Object

Java class for collection_type complex type.

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

 <complexType name="collection_type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.w3.org/2005/Atom}title"/>
         <element name="accept" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="categories" type="{http://www.w3.org/2007/app}categories_type" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
CollectionType()
           
 
Method Summary
 java.util.List<java.lang.String> getAccept()
          Gets the value of the accept property.
 java.util.List<CategoriesType> getCategories()
          Gets the value of the categories property.
 java.lang.String getHref()
          Gets the value of the href property.
 java.lang.String getTitle()
          Gets the value of the title property.
 void setHref(java.lang.String value)
          Sets the value of the href property.
 void setTitle(java.lang.String value)
          Sets the value of the title property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionType

public CollectionType()
Method Detail

getTitle

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

Returns:
possible object is String

setTitle

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

Parameters:
value - allowed object is String

getAccept

public java.util.List<java.lang.String> getAccept()
Gets the value of the accept 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 accept property.

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

    getAccept().add(newItem);
 

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


getCategories

public java.util.List<CategoriesType> getCategories()
Gets the value of the categories 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 categories property.

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

    getCategories().add(newItem);
 

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


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