edu.vt.marian.Document
Class MarcSubField

java.lang.Object
  |
  +--edu.vt.marian.Document.MarcSubField

public class MarcSubField
extends java.lang.Object

a sub field of a variable field in us marc record, user can assume a sub field is composed of a char label and a string data

uses the services of class(es): designer(s): Jianxin Zhao (jxzhao@csgrad.cs.vt.edu) implementator(s): Jianxin(Jason) Zhao (jxzhao@csgrad.cs.vt.edu) finished time: known bugs: JDK version: 1.1.5 side effects:


Constructor Summary
MarcSubField(char label, java.lang.String data, edu.vt.marian.common.Debug debug)
          method description: this constructor will create a marc_subfield object from the parameters label and data uses the services of class(es): input parameter(s): label --- this will be the label of this object data -- this will be the data of this object debug -- used for debugging output parameter(s): none return value: none
 
Method Summary
 java.lang.String get_data()
          method description: this will return the data of this object uses the services of class(es): input parameter(s): none output parameter(s): none return value: the data of this object as a string
 char get_label()
          method description: this will return the label of this object uses the services of class(es): input parameter(s): none output parameter(s): none return value: the id of this object as a char
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarcSubField

public MarcSubField(char label,
                    java.lang.String data,
                    edu.vt.marian.common.Debug debug)
method description: this constructor will create a marc_subfield object from the parameters label and data

uses the services of class(es): input parameter(s): label --- this will be the label of this object data -- this will be the data of this object debug -- used for debugging output parameter(s): none return value: none

Method Detail

get_label

public char get_label()
method description: this will return the label of this object

uses the services of class(es): input parameter(s): none output parameter(s): none return value: the id of this object as a char


get_data

public java.lang.String get_data()
method description: this will return the data of this object

uses the services of class(es): input parameter(s): none output parameter(s): none return value: the data of this object as a string