public interface Leader extends Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
getBaseAddressOfData()
Returns the base address of data (positions 12-16).
|
char |
getCharCodingScheme()
Returns the character coding scheme (position 09).
|
char[] |
getEntryMap()
Returns the entry map (positions 20-23).
|
Long |
getId()
Returns the identifier.
|
char[] |
getImplDefined1()
Returns implementation defined values (positions 07-08).
|
char[] |
getImplDefined2()
Returns implementation defined values (positions 17-19).
|
int |
getIndicatorCount()
Returns the indicator count (positions 10).
|
int |
getRecordLength()
Returns the logical record length (positions 00-04).
|
char |
getRecordStatus()
Returns the record status (positions 05).
|
int |
getSubfieldCodeLength()
Returns the subfield code length (position 11).
|
char |
getTypeOfRecord()
Returns the record type (position 06).
|
String |
marshal()
Creates a string object from this leader object.
|
void |
setBaseAddressOfData(int baseAddressOfData)
Sets the base address of data (positions 12-16).
|
void |
setCharCodingScheme(char charCodingScheme)
Sets the character encoding scheme (position 09).
|
void |
setEntryMap(char[] entryMap)
Sets the entry map (positions 20-23).
|
void |
setId(Long id)
Sets the identifier.
|
void |
setImplDefined1(char[] implDefined1)
Sets implementation defined values (position 07-08).
|
void |
setImplDefined2(char[] implDefined2)
Sets implementation defined values (positions 17-19).
|
void |
setIndicatorCount(int indicatorCount)
Sets the indicator count (position 10).
|
void |
setRecordLength(int recordLength)
Sets the logical record length (positions 00-04).
|
void |
setRecordStatus(char recordStatus)
Sets the record status (position 05).
|
void |
setSubfieldCodeLength(int subfieldCodeLength)
Sets the subfield code length (position 11).
|
void |
setTypeOfRecord(char typeOfRecord)
Sets the type of record (position 06).
|
void |
unmarshal(String ldr)
Creates a leader object from a string object.
|
void setId(Long id)
id - the identifierLong getId()
void setRecordLength(int recordLength)
recordLength - integer representing the record lengthvoid setRecordStatus(char recordStatus)
recordStatus - character representing the record statusvoid setTypeOfRecord(char typeOfRecord)
typeOfRecord - character representing the type of recordvoid setImplDefined1(char[] implDefined1)
implDefined1 - character array representing the implementation
defined datavoid setCharCodingScheme(char charCodingScheme)
charCodingScheme - character representing the character encodingvoid setIndicatorCount(int indicatorCount)
indicatorCount - integer representing the number of indicators
present in a data fieldvoid setSubfieldCodeLength(int subfieldCodeLength)
subfieldCodeLength - integer representing the subfield code lengthvoid setBaseAddressOfData(int baseAddressOfData)
baseAddressOfData - integer representing the base address of datavoid setImplDefined2(char[] implDefined2)
implDefined2 - character array representing the implementation
defined datavoid setEntryMap(char[] entryMap)
entryMap - character array representing the entry mapint getRecordLength()
int- the record lengthchar getRecordStatus()
char- the record statuschar getTypeOfRecord()
char- the record typechar[] getImplDefined1()
char[]- implementation defined valueschar getCharCodingScheme()
char- the character coding schemeint getIndicatorCount()
int- the indicator countint getSubfieldCodeLength()
int- the subfield code lengthint getBaseAddressOfData()
int- the base address of datachar[] getImplDefined2()
char[]- implementation defined valueschar[] getEntryMap()
char[]- the entry mapvoid unmarshal(String ldr)
Creates a leader object from a string object.
Indicator count and subfield code length are defaulted to 2 if they are not integer values.
ldr - the leaderString marshal()
Copyright © 2014 FreeLibrary. All Rights Reserved.