All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ORG.oclc.z39.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.

Version:
@(#)AttributeDescription.java 1.1 07/09/97

Variable Index

 o description
Description of the attribute.
 o equivalents
Set of values from other AttributeDescriptions that are equivalent.
 o name
Name of the attribute.
 o value
Value of the attribute.

Constructor Index

 o AttributeDescription(DataDir)
Construct an AttributeDescription from the DataDir.
 o AttributeDescription(String, int)
Construct an AttributeDescription with the specified name and value.

Method Index

 o toDataDir()
Builds a DataDir of the AttributeDescription.
 o toString()
Builds a String describing the AttributeDescription.

Variables

 o name
 public String name
Name of the attribute.

 o description
 public String description
Description of the attribute.

 o value
 public int value
Value of the attribute.

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

Constructors

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

 o 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

Methods

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

 o toString
 public String toString()
Builds a String describing the AttributeDescription.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index