magoffin.matt.ma2.domain
Interface Collection


public interface Collection

Java content class for collection complex type.

The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Volumes/Renton/Users/matt/ws/ws-home/matte/hyperjaxb2-build/src/main/resources/domain.xsd line 84)

 <complexType name="collection">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="owner" type="{http://msqr.us/xsd/matte}user"/>
         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="item" type="{http://msqr.us/xsd/matte}media-item" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="collection-id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="creation-date" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="modify-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 java.lang.Long getCollectionId()
          Gets the value of the collectionId property.
 java.lang.String getComment()
          Gets the value of the comment property.
 java.util.Calendar getCreationDate()
          Gets the value of the creationDate property.
 java.util.List getItem()
          Gets the value of the Item property.
 java.util.Calendar getModifyDate()
          Gets the value of the modifyDate property.
 java.lang.String getName()
          Gets the value of the name property.
 User getOwner()
          Gets the value of the owner property.
 java.lang.String getPath()
          Gets the value of the path property.
 void setCollectionId(java.lang.Long value)
          Sets the value of the collectionId property.
 void setComment(java.lang.String value)
          Sets the value of the comment property.
 void setCreationDate(java.util.Calendar value)
          Sets the value of the creationDate property.
 void setModifyDate(java.util.Calendar value)
          Sets the value of the modifyDate property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setOwner(User value)
          Sets the value of the owner property.
 void setPath(java.lang.String value)
          Sets the value of the path property.
 

Method Detail

getOwner

User getOwner()
Gets the value of the owner property.

Returns:
possible object is User

setOwner

void setOwner(User value)
Sets the value of the owner property.

Parameters:
value - allowed object is User

getComment

java.lang.String getComment()
Gets the value of the comment property.

Returns:
possible object is String

setComment

void setComment(java.lang.String value)
Sets the value of the comment property.

Parameters:
value - allowed object is String

getItem

java.util.List getItem()
Gets the value of the Item 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 Item property.

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

    getItem().add(newItem);
 

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


getPath

java.lang.String getPath()
Gets the value of the path property.

Returns:
possible object is String

setPath

void setPath(java.lang.String value)
Sets the value of the path property.

Parameters:
value - allowed object is String

getName

java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String

getModifyDate

java.util.Calendar getModifyDate()
Gets the value of the modifyDate property.

Returns:
possible object is Calendar

setModifyDate

void setModifyDate(java.util.Calendar value)
Sets the value of the modifyDate property.

Parameters:
value - allowed object is Calendar

getCollectionId

java.lang.Long getCollectionId()
Gets the value of the collectionId property.

Returns:
possible object is Long

setCollectionId

void setCollectionId(java.lang.Long value)
Sets the value of the collectionId property.

Parameters:
value - allowed object is Long

getCreationDate

java.util.Calendar getCreationDate()
Gets the value of the creationDate property.

Returns:
possible object is Calendar

setCreationDate

void setCreationDate(java.util.Calendar value)
Sets the value of the creationDate property.

Parameters:
value - allowed object is Calendar