X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=apidoc%2Forg%2Fmarc4j%2Fmarc%2Fimpl%2FControlFieldImpl.html;fp=apidoc%2Forg%2Fmarc4j%2Fmarc%2Fimpl%2FControlFieldImpl.html;h=43c52f0a51ec01bd238531de948e24a3ad2f2c07;hb=fa7e8c01ac0a2009caeca46135a0df80da2c2d52;hp=0000000000000000000000000000000000000000;hpb=0c435d66d7ffac54d3abbf9d949c5cb6f3f9baa4;p=marc4j.git diff --git a/apidoc/org/marc4j/marc/impl/ControlFieldImpl.html b/apidoc/org/marc4j/marc/impl/ControlFieldImpl.html new file mode 100644 index 0000000..43c52f0 --- /dev/null +++ b/apidoc/org/marc4j/marc/impl/ControlFieldImpl.html @@ -0,0 +1,480 @@ + + + +
+ +
+
+
|
++ + | +|||||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + + | +|||||||||
+ SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+java.lang.Object + org.marc4j.marc.impl.VariableFieldImpl + org.marc4j.marc.impl.ControlFieldImpl ++
public class ControlFieldImpl
+Represents a control field in a MARC record. +
+ +
+
+Constructor Summary | +|
---|---|
ControlFieldImpl()
+
++ Creates a new ControlField . |
+|
ControlFieldImpl(String tag)
+
++ Creates a new ControlField and sets the tag name. |
+|
ControlFieldImpl(String tag,
+ String data)
+
++ Creates a new ControlField and sets the tag name and the
+ data element. |
+
+Method Summary | +|
---|---|
+ boolean |
+find(String pattern)
+
++ Returns true if the given regular expression matches a subsequence of a + data element within the variable field. |
+
+ String |
+getData()
+
++ Returns the data element |
+
+ Long |
+getId()
+
++ Returns the identifier. |
+
+ void |
+setData(String data)
+
++ Sets the data element. |
+
+ void |
+setId(Long id)
+
++ Sets the identifier. |
+
+ String |
+toString()
+
++ Returns a string representation of this control field. |
+
Methods inherited from class org.marc4j.marc.impl.VariableFieldImpl | +
---|
compareTo, getTag, setTag |
+
Methods inherited from class java.lang.Object | +
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
+
Methods inherited from interface org.marc4j.marc.VariableField | +
---|
getTag, setTag |
+
Methods inherited from interface java.lang.Comparable | +
---|
compareTo |
+
+Constructor Detail | +
---|
+public ControlFieldImpl()+
ControlField
.
++
+public ControlFieldImpl(String tag)+
ControlField
and sets the tag name.
++
+public ControlFieldImpl(String tag, + String data)+
ControlField
and sets the tag name and the
+ data element.
++
+Method Detail | +
---|
+public void setData(String data)+
ControlField
+
setData
in interface ControlField
data
- the data element+public String getData()+
ControlField
+
getData
in interface ControlField
+public String toString()+
+ Example: + +
+ 001 12883376 ++
+
toString
in class VariableFieldImpl
+public boolean find(String pattern)+
VariableField
+ See Pattern
for more information about Java
+ regular expressions.
+
+
find
in interface VariableField
pattern
- the regular expression
++public void setId(Long id)+
VariableField
+ The purpose of this identifier is to provide an identifier for + persistency. +
+
setId
in interface VariableField
id
- the identifier+public Long getId()+
VariableField
+
getId
in interface VariableField
+
+
|
++ + | +|||||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + + | +|||||||||
+ SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +