|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.archiviststoolkit.structure.MARCXML.CollectionType
public class CollectionType
Java class for collectionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="collectionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence maxOccurs="unbounded" minOccurs="0"> <element ref="{http://www.loc.gov/MARC21/slim}record"/> </sequence> <attribute name="id" type="{http://www.loc.gov/MARC21/slim}idDataType" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected java.lang.String |
id
|
protected java.util.List<RecordType> |
record
|
Constructor Summary | |
---|---|
CollectionType()
|
Method Summary | |
---|---|
java.lang.String |
getId()
Gets the value of the id property. |
java.util.List<RecordType> |
getRecord()
Gets the value of the record property. |
void |
setId(java.lang.String value)
Sets the value of the id property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<RecordType> record
protected java.lang.String id
Constructor Detail |
---|
public CollectionType()
Method Detail |
---|
public java.util.List<RecordType> getRecord()
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 record property.
For example, to add a new item, do as follows:
getRecord().add(newItem);
Objects of the following type(s) are allowed in the list
RecordType
public java.lang.String getId()
String
public void setId(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 |