magoffin.matt.ma2.domain
Interface Album

All Known Subinterfaces:
AlbumSearchResult

public interface Album

Java content class for album 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 43)

 <complexType name="album">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="owner" type="{http://msqr.us/xsd/matte}user" minOccurs="0"/>
         <element name="theme" type="{http://msqr.us/xsd/matte}theme" minOccurs="0"/>
         <element name="poster" type="{http://msqr.us/xsd/matte}media-item" minOccurs="0"/>
         <element name="item" type="{http://msqr.us/xsd/matte}media-item" maxOccurs="unbounded" minOccurs="0"/>
         <element name="album" type="{http://msqr.us/xsd/matte}album" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="album-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="album-id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="allow-anonymous" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="allow-browse" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="allow-feed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="allow-original" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="anonymous-key" type="{http://www.w3.org/2001/XMLSchema}string" />
       <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="sort-mode" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 java.util.List getAlbum()
          Gets the value of the Album property.
 java.util.Calendar getAlbumDate()
          Gets the value of the albumDate property.
 java.lang.Long getAlbumId()
          Gets the value of the albumId property.
 java.lang.String getAnonymousKey()
          Gets the value of the anonymousKey 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.
 MediaItem getPoster()
          Gets the value of the poster property.
 int getSortMode()
          Gets the value of the sortMode property.
 Theme getTheme()
          Gets the value of the theme property.
 boolean isAllowAnonymous()
          Gets the value of the allowAnonymous property.
 boolean isAllowBrowse()
          Gets the value of the allowBrowse property.
 boolean isAllowFeed()
          Gets the value of the allowFeed property.
 boolean isAllowOriginal()
          Gets the value of the allowOriginal property.
 void setAlbumDate(java.util.Calendar value)
          Sets the value of the albumDate property.
 void setAlbumId(java.lang.Long value)
          Sets the value of the albumId property.
 void setAllowAnonymous(boolean value)
          Sets the value of the allowAnonymous property.
 void setAllowBrowse(boolean value)
          Sets the value of the allowBrowse property.
 void setAllowFeed(boolean value)
          Sets the value of the allowFeed property.
 void setAllowOriginal(boolean value)
          Sets the value of the allowOriginal property.
 void setAnonymousKey(java.lang.String value)
          Sets the value of the anonymousKey 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 setPoster(MediaItem value)
          Sets the value of the poster property.
 void setSortMode(int value)
          Sets the value of the sortMode property.
 void setTheme(Theme value)
          Sets the value of the theme property.
 

Method Detail

getTheme

Theme getTheme()
Gets the value of the theme property.

Returns:
possible object is Theme

setTheme

void setTheme(Theme value)
Sets the value of the theme property.

Parameters:
value - allowed object is Theme

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

isAllowFeed

boolean isAllowFeed()
Gets the value of the allowFeed property.


setAllowFeed

void setAllowFeed(boolean value)
Sets the value of the allowFeed property.


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


getAlbum

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

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

    getAlbum().add(newItem);
 

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


getPoster

MediaItem getPoster()
Gets the value of the poster property.

Returns:
possible object is MediaItem

setPoster

void setPoster(MediaItem value)
Sets the value of the poster property.

Parameters:
value - allowed object is MediaItem

isAllowAnonymous

boolean isAllowAnonymous()
Gets the value of the allowAnonymous property.


setAllowAnonymous

void setAllowAnonymous(boolean value)
Sets the value of the allowAnonymous property.


getAnonymousKey

java.lang.String getAnonymousKey()
Gets the value of the anonymousKey property.

Returns:
possible object is String

setAnonymousKey

void setAnonymousKey(java.lang.String value)
Sets the value of the anonymousKey property.

Parameters:
value - allowed object is String

isAllowOriginal

boolean isAllowOriginal()
Gets the value of the allowOriginal property.


setAllowOriginal

void setAllowOriginal(boolean value)
Sets the value of the allowOriginal property.


getAlbumDate

java.util.Calendar getAlbumDate()
Gets the value of the albumDate property.

Returns:
possible object is Calendar

setAlbumDate

void setAlbumDate(java.util.Calendar value)
Sets the value of the albumDate property.

Parameters:
value - allowed object is Calendar

getAlbumId

java.lang.Long getAlbumId()
Gets the value of the albumId property.

Returns:
possible object is Long

setAlbumId

void setAlbumId(java.lang.Long value)
Sets the value of the albumId property.

Parameters:
value - allowed object is Long

getSortMode

int getSortMode()
Gets the value of the sortMode property.


setSortMode

void setSortMode(int value)
Sets the value of the sortMode property.


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

isAllowBrowse

boolean isAllowBrowse()
Gets the value of the allowBrowse property.


setAllowBrowse

void setAllowBrowse(boolean value)
Sets the value of the allowBrowse property.


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

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