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