| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MediaItem
Java content class for media-item 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 104)
 <complexType name="media-item">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="tz" type="{http://msqr.us/xsd/matte}time-zone"/>
         <element name="tz-display" type="{http://msqr.us/xsd/matte}time-zone" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="media-type" type="{http://msqr.us/xsd/matte}media-item-type" minOccurs="0"/>
         <element name="metadata" type="{http://msqr.us/xsd/matte}metadata" maxOccurs="unbounded" minOccurs="0"/>
         <element name="user-rating" type="{http://msqr.us/xsd/matte}media-item-rating" maxOccurs="unbounded" minOccurs="0"/>
         <element name="user-comment" type="{http://msqr.us/xsd/matte}user-comment" maxOccurs="unbounded" minOccurs="0"/>
         <element name="user-tag" type="{http://msqr.us/xsd/matte}user-tag" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="creation-date" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="display-order" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
       <attribute name="file-size" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="hits" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
       <attribute name="item-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="item-id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="mime" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <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" />
       <attribute name="use-icon" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 
| Method Summary | |
|---|---|
|  java.util.Calendar | getCreationDate()Gets the value of the creationDate property. | 
|  java.lang.String | getDescription()Gets the value of the description property. | 
|  int | getDisplayOrder()Gets the value of the displayOrder property. | 
|  java.lang.Long | getFileSize()Gets the value of the fileSize property. | 
|  int | getHeight()Gets the value of the height property. | 
|  int | getHits()Gets the value of the hits property. | 
|  java.util.Calendar | getItemDate()Gets the value of the itemDate property. | 
|  java.lang.Long | getItemId()Gets the value of the itemId property. | 
|  MediaItemType | getMediaType()The type of media this item represents, e.g. | 
|  java.util.List | getMetadata()Gets the value of the Metadata property. | 
|  java.lang.String | getMime()Gets the value of the mime property. | 
|  java.util.Calendar | getModifyDate()Gets the value of the modifyDate property. | 
|  java.lang.String | getName()Gets the value of the name property. | 
|  java.lang.String | getPath()Gets the value of the path property. | 
|  TimeZone | getTz()The time zone of the creation date. | 
|  TimeZone | getTzDisplay()The time zone to display the creation date as. | 
|  java.util.List | getUserComment()Gets the value of the UserComment property. | 
|  java.util.List | getUserRating()Gets the value of the UserRating property. | 
|  java.util.List | getUserTag()Gets the value of the UserTag property. | 
|  int | getWidth()Gets the value of the width property. | 
|  boolean | isUseIcon()Gets the value of the useIcon property. | 
|  void | setCreationDate(java.util.Calendar value)Sets the value of the creationDate property. | 
|  void | setDescription(java.lang.String value)Sets the value of the description property. | 
|  void | setDisplayOrder(int value)Sets the value of the displayOrder property. | 
|  void | setFileSize(java.lang.Long value)Sets the value of the fileSize property. | 
|  void | setHeight(int value)Sets the value of the height property. | 
|  void | setHits(int value)Sets the value of the hits property. | 
|  void | setItemDate(java.util.Calendar value)Sets the value of the itemDate property. | 
|  void | setItemId(java.lang.Long value)Sets the value of the itemId property. | 
|  void | setMediaType(MediaItemType value)The type of media this item represents, e.g. | 
|  void | setMime(java.lang.String value)Sets the value of the mime 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 | setPath(java.lang.String value)Sets the value of the path property. | 
|  void | setTz(TimeZone value)The time zone of the creation date. | 
|  void | setTzDisplay(TimeZone value)The time zone to display the creation date as. | 
|  void | setUseIcon(boolean value)Sets the value of the useIcon property. | 
|  void | setWidth(int value)Sets the value of the width property. | 
| Method Detail | 
|---|
int getHits()
void setHits(int value)
int getHeight()
void setHeight(int value)
java.util.List getUserComment()
 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 UserComment property.
 
 
For example, to add a new item, do as follows:
    getUserComment().add(newItem);
 
 
 
 
 Objects of the following type(s) are allowed in the list
 UserComment
java.util.List getUserRating()
 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 UserRating property.
 
 
For example, to add a new item, do as follows:
    getUserRating().add(newItem);
 
 
 
 
 Objects of the following type(s) are allowed in the list
 MediaItemRating
TimeZone getTzDisplay()
TimeZonevoid setTzDisplay(TimeZone value)
value - allowed object is
     TimeZonejava.lang.Long getItemId()
Longvoid setItemId(java.lang.Long value)
value - allowed object is
     LongMediaItemType getMediaType()
MediaItemTypevoid setMediaType(MediaItemType value)
value - allowed object is
     MediaItemTypejava.lang.String getDescription()
Stringvoid setDescription(java.lang.String value)
value - allowed object is
     StringTimeZone getTz()
TimeZonevoid setTz(TimeZone value)
value - allowed object is
     TimeZoneint getWidth()
void setWidth(int value)
java.util.List getUserTag()
 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 UserTag property.
 
 
For example, to add a new item, do as follows:
    getUserTag().add(newItem);
 
 
 
 
 Objects of the following type(s) are allowed in the list
 UserTag
java.lang.String getPath()
Stringvoid setPath(java.lang.String value)
value - allowed object is
     Stringjava.lang.String getMime()
Stringvoid setMime(java.lang.String value)
value - allowed object is
     Stringint getDisplayOrder()
void setDisplayOrder(int value)
java.lang.String getName()
Stringvoid setName(java.lang.String value)
value - allowed object is
     Stringboolean isUseIcon()
void setUseIcon(boolean value)
java.util.Calendar getModifyDate()
Calendarvoid setModifyDate(java.util.Calendar value)
value - allowed object is
     Calendarjava.util.List getMetadata()
 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 Metadata property.
 
 
For example, to add a new item, do as follows:
    getMetadata().add(newItem);
 
 
 
 
 Objects of the following type(s) are allowed in the list
 Metadata
java.util.Calendar getCreationDate()
Calendarvoid setCreationDate(java.util.Calendar value)
value - allowed object is
     Calendarjava.lang.Long getFileSize()
Longvoid setFileSize(java.lang.Long value)
value - allowed object is
     Longjava.util.Calendar getItemDate()
Calendarvoid setItemDate(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 | |||||||||