|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
|---|
User getOwner()
Uservoid setOwner(User value)
value - allowed object is
Userjava.lang.String getComment()
Stringvoid setComment(java.lang.String value)
value - allowed object is
Stringjava.util.List getItem()
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
java.lang.String getPath()
Stringvoid setPath(java.lang.String value)
value - allowed object is
Stringjava.lang.String getName()
Stringvoid setName(java.lang.String value)
value - allowed object is
Stringjava.util.Calendar getModifyDate()
Calendarvoid setModifyDate(java.util.Calendar value)
value - allowed object is
Calendarjava.lang.Long getCollectionId()
Longvoid setCollectionId(java.lang.Long value)
value - allowed object is
Longjava.util.Calendar getCreationDate()
Calendarvoid setCreationDate(java.util.Calendar value)
value - allowed object is
Calendar
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||