public interface Subfield extends Serializable
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 expressionCopyright © 2014 FreeLibrary. All Rights Reserved.