magoffin.matt.ma2.domain
Interface ItemImportType

All Superinterfaces:
BaseImportType

public interface ItemImportType
extends BaseImportType

An import media item. The item can specify various attributes like name, comments, keywords, and a rating. The archive-path element refers to the zip archive path of this item as located in the associated zip archive used for this import. Java content class for item-import-type 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/import.xsd line 110)

 <complexType name="item-import-type">
   <complexContent>
     <extension base="{http://msqr.us/xsd/matte}base-import-type">
       <sequence>
         <element name="keywords" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="meta" type="{http://msqr.us/xsd/matte}metadata-import-type" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="archive-path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="rating" type="{http://www.w3.org/2001/XMLSchema}float" />
     </extension>
   </complexContent>
 </complexType>
 


Method Summary
 java.lang.String getArchivePath()
          Gets the value of the archivePath property.
 java.lang.String getKeywords()
          Any number of keywords can be specified by delimiting them with commas.
 java.util.List getMeta()
          Gets the value of the Meta property.
 float getRating()
          Gets the value of the rating property.
 void setArchivePath(java.lang.String value)
          Sets the value of the archivePath property.
 void setKeywords(java.lang.String value)
          Any number of keywords can be specified by delimiting them with commas.
 void setRating(float value)
          Sets the value of the rating property.
 
Methods inherited from interface magoffin.matt.ma2.domain.BaseImportType
getComment, getName, setComment, setName
 

Method Detail

getMeta

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

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

    getMeta().add(newItem);
 

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


getArchivePath

java.lang.String getArchivePath()
Gets the value of the archivePath property.

Returns:
possible object is String

setArchivePath

void setArchivePath(java.lang.String value)
Sets the value of the archivePath property.

Parameters:
value - allowed object is String

getKeywords

java.lang.String getKeywords()
Any number of keywords can be specified by delimiting them with commas.

Returns:
possible object is String

setKeywords

void setKeywords(java.lang.String value)
Any number of keywords can be specified by delimiting them with commas.

Parameters:
value - allowed object is String

getRating

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


setRating

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