Open SiteSearch 4.1.1
Final

ORG.oclc.z39
Class AttributeDescription

java.lang.Object
  |
  +--ORG.oclc.z39.AttributeDescription

public class AttributeDescription
extends Object

AttributeDescription is defined in Z39-50-recordSyntax explain. More detailed explanations of various parameters can be obtained in the Z39-50 documentation.


Field Summary
 String description
          Description of the attribute.
 int[] equivalents
          Set of values from other AttributeDescriptions that are equivalent.
 String name
          Name of the attribute.
 int value
          Value of the attribute.
 
Constructor Summary
AttributeDescription(DataDir t)
          Construct an AttributeDescription from the DataDir.
AttributeDescription(String name, int value)
          Construct an AttributeDescription with the specified name and value.
 
Method Summary
 DataDir toDataDir()
          Builds a DataDir of the AttributeDescription.
 String toString()
          Builds a String describing the AttributeDescription.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name
Name of the attribute.

description

public String description
Description of the attribute.

value

public int value
Value of the attribute.

equivalents

public int[] equivalents
Set of values from other AttributeDescriptions that are equivalent.
Constructor Detail

AttributeDescription

public AttributeDescription(String name,
                            int value)
Construct an AttributeDescription with the specified name and value.

AttributeDescription

public AttributeDescription(DataDir t)
                     throws InstantiationException
Construct an AttributeDescription from the DataDir.
Throws:
InstantiationException - when the structure of the DataDir does not conform to the standard
Method Detail

toDataDir

public DataDir toDataDir()
Builds a DataDir of the AttributeDescription.

toString

public String toString()
Builds a String describing the AttributeDescription.
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final