|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Subfield
Represents a subfield in a MARC record.
Method Summary | |
---|---|
boolean |
find(String pattern)
Returns true if the given regular expression matches a subsequence of the data element. |
char |
getCode()
Returns the data element identifier. |
String |
getData()
Returns the data element. |
Long |
getId()
Returns the identifier. |
void |
setCode(char code)
Sets the data element identifier. |
void |
setData(String data)
Sets the data element. |
void |
setId(Long id)
Sets the identifier. |
Method Detail |
---|
void setId(Long id)
The purpose of this identifier is to provide an identifier for persistency.
id
- the identifierLong getId()
char getCode()
void setCode(char code)
code
- the data element identifierString getData()
void setData(String data)
data
- the data elementboolean find(String pattern)
pattern
- the regular expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |