|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
java.util.List getAlbum()
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
java.util.List getItem()
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
java.lang.String getName()
String
void setName(java.lang.String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |