magoffin.matt.ma2.domain
Interface CollectionImportType

All Known Subinterfaces:
CollectionImport

public interface CollectionImportType

Top-level import structure. Imports items into a single Matte collection. May also define albums, or import items directly into collection without associating with albums. Java content class for collection-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 34)

 <complexType name="collection-import-type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="album" type="{http://msqr.us/xsd/matte}album-import-type" maxOccurs="unbounded" minOccurs="0"/>
         <element name="item" type="{http://msqr.us/xsd/matte}item-import-type" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 java.util.List getAlbum()
          An album to import, which has items nested inside of it.
 java.util.List getItem()
          A media item to import, outside of any album.
 java.lang.String getName()
          Gets the value of the name property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 

Method Detail

getAlbum

java.util.List getAlbum()
An album to import, which has items nested inside of it. 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 AlbumImportType


getItem

java.util.List getItem()
A media item to import, outside of any album. 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 ItemImportType


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