|
||||||||||
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()
TimeZone
void setTzDisplay(TimeZone value)
value
- allowed object is
TimeZone
java.lang.Long getItemId()
Long
void setItemId(java.lang.Long value)
value
- allowed object is
Long
MediaItemType getMediaType()
MediaItemType
void setMediaType(MediaItemType value)
value
- allowed object is
MediaItemType
java.lang.String getDescription()
String
void setDescription(java.lang.String value)
value
- allowed object is
String
TimeZone getTz()
TimeZone
void setTz(TimeZone value)
value
- allowed object is
TimeZone
int 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()
String
void setPath(java.lang.String value)
value
- allowed object is
String
java.lang.String getMime()
String
void setMime(java.lang.String value)
value
- allowed object is
String
int getDisplayOrder()
void setDisplayOrder(int value)
java.lang.String getName()
String
void setName(java.lang.String value)
value
- allowed object is
String
boolean isUseIcon()
void setUseIcon(boolean value)
java.util.Calendar getModifyDate()
Calendar
void setModifyDate(java.util.Calendar value)
value
- allowed object is
Calendar
java.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()
Calendar
void setCreationDate(java.util.Calendar value)
value
- allowed object is
Calendar
java.lang.Long getFileSize()
Long
void setFileSize(java.lang.Long value)
value
- allowed object is
Long
java.util.Calendar getItemDate()
Calendar
void 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 |