|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataField
Represents a data field in a MARC record.
Method Summary | |
---|---|
void |
addSubfield(int index,
Subfield subfield)
Inserts a Subfield at the specified position. |
void |
addSubfield(Subfield subfield)
Adds a Subfield . |
char |
getIndicator1()
Returns the first indicator |
char |
getIndicator2()
Returns the second indicator |
Subfield |
getSubfield(char code)
Returns the first Subfield with the given code. |
List |
getSubfields()
Returns the list of Subfield objects. |
List |
getSubfields(char code)
Returns the list of Subfield objects for the goven
subfield code. |
void |
removeSubfield(Subfield subfield)
Removes a Subfield . |
void |
setIndicator1(char ind1)
Sets the first indicator. |
void |
setIndicator2(char ind2)
Sets the second indicator. |
Methods inherited from interface org.marc4j.marc.VariableField |
---|
find, getId, getTag, setId, setTag |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
char getIndicator1()
void setIndicator1(char ind1)
ind1
- the first indicatorchar getIndicator2()
void setIndicator2(char ind2)
ind2
- the second indicatorList getSubfields()
Subfield
objects.
Subfield
objectsList getSubfields(char code)
Subfield
objects for the goven
subfield code.
code
- the subfield code
Subfield
objectsSubfield getSubfield(char code)
Subfield
with the given code.
code
- the subfield code
void addSubfield(Subfield subfield)
Subfield
.
subfield
- the Subfield
object
IllegalAddException
- when the parameter is not a Subfield
instancevoid addSubfield(int index, Subfield subfield)
Subfield
at the specified position.
index
- the position within the listsubfield
- the Subfield
object
IllegalAddException
- when the parameter is not a Subfield
instancevoid removeSubfield(Subfield subfield)
Subfield
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |