magoffin.matt.ma2.domain
Interface MediaItemRating


public interface MediaItemRating

Java content class for media-item-rating 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 161)

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


Method Summary
 java.util.Calendar getCreationDate()
          Gets the value of the creationDate property.
 short getRating()
          Gets the value of the rating property.
 java.lang.Long getRatingId()
          Gets the value of the ratingId property.
 User getRatingUser()
          Gets the value of the ratingUser property.
 void setCreationDate(java.util.Calendar value)
          Sets the value of the creationDate property.
 void setRating(short value)
          Sets the value of the rating property.
 void setRatingId(java.lang.Long value)
          Sets the value of the ratingId property.
 void setRatingUser(User value)
          Sets the value of the ratingUser property.
 

Method Detail

getRatingUser

User getRatingUser()
Gets the value of the ratingUser property.

Returns:
possible object is User

setRatingUser

void setRatingUser(User value)
Sets the value of the ratingUser property.

Parameters:
value - allowed object is User

getRatingId

java.lang.Long getRatingId()
Gets the value of the ratingId property.

Returns:
possible object is Long

setRatingId

void setRatingId(java.lang.Long value)
Sets the value of the ratingId property.

Parameters:
value - allowed object is Long

getRating

short getRating()
Gets the value of the rating property.


setRating

void setRating(short value)
Sets the value of the rating property.


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