ORG.oclc.z39
Class AttributeType
java.lang.Object
|
+--ORG.oclc.z39.AttributeType
- public class AttributeType
- extends Object
AttributeType is referenced in AttributeSetInfo. It describes all the
types for an attribute set.
name
public String name
- Name of the attribute type
description
public String description
- Description of the attribute type
value
public int value
- Integer value of the attribute type
attributeDescription
public AttributeDescription[] attributeDescription
- List of attributes of this type
AttributeType
public AttributeType()
AttributeType
public AttributeType(DataDir t)
throws InstantiationException
- Decodes the DataDir representation of an AttributeType description
into an AttributeType object.
- Parameters:
t
- an AttributeType description- Throws:
- InstantiationException - when the DataDir is not constructed as
expected
toDataDir
public DataDir toDataDir()
- Builds a DataDir from this AttributeType object.
toString
public String toString()
- Overrides:
- toString in class Object