com.hp.hpl.deli
Class VocabularyProperty

java.lang.Object
  extended bycom.hp.hpl.deli.VocabularyProperty
All Implemented Interfaces:
java.io.Serializable

class VocabularyProperty
extends java.lang.Object
implements java.io.Serializable

This class maps a vocabulary attribute type onto properties that are described using a finite set such as the component the attribute belongs to, the attribute resolution rule, etc.

Author:
Mark H. Butler (mark-h.butler@hp.com)

Field Summary
private  java.util.Vector attributeMap
           
private  java.util.Vector finiteSet
           
private static long serialVersionUID
          Comment for serialVersionUID
 
Constructor Summary
protected VocabularyProperty()
           
 
Method Summary
protected  void add(java.lang.String finiteSetValue)
          Insert a new property value.
protected  java.lang.String get(int number)
          Retrieve a property value.
protected  int size()
          Retrieve the size of the finite set.
 java.lang.String toString()
          Convert the class to a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Comment for serialVersionUID

See Also:
Constant Field Values

finiteSet

private java.util.Vector finiteSet

attributeMap

private java.util.Vector attributeMap
Constructor Detail

VocabularyProperty

protected VocabularyProperty()
Method Detail

add

protected void add(java.lang.String finiteSetValue)
Insert a new property value.

Parameters:
finiteSetValue - The parameter value

get

protected java.lang.String get(int number)
Retrieve a property value.

Parameters:
number - The attribute number.
Returns:
The property value.

size

protected int size()
Retrieve the size of the finite set.

Returns:
Number of values.

toString

public java.lang.String toString()
Convert the class to a string.

Returns:
The vocabulary map as a string.