kdl.prox.db
Class AttributeValues

java.lang.Object
  extended by kdl.prox.db.AttributeValues

public class AttributeValues
extends java.lang.Object

Used by Attributes.getAttrValsForOID(), contains a table of attribute values.

See Also:
Attributes.getAttrValsForOID(int), AttributeValue

Constructor Summary
AttributeValues(java.util.List attrValues, Attributes attributes)
          Full-arg constructor.
 
Method Summary
 boolean contains(AttributeValue attributeValue)
           
 Attributes getAttributes()
           
 AttributeValue getAttributeValue(int row)
           
 java.util.List getAttrValsForName(java.lang.String attrName)
          Returns the AttributeValue instances in me whose name is attrName, ignoring case.
 java.util.List getAttrValues()
           
 int getColumnCount()
           
 int getRowCount()
           
 java.util.Set getUniqueAttrNames()
          Returns a Set of unique attribute names (StringS) in me.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValues

public AttributeValues(java.util.List attrValues,
                       Attributes attributes)
Full-arg constructor.

Parameters:
attrValues - List of AttributeValue instances
attributes - Attributes that attrValues came from. useful for looking up value types for attributes
See Also:
AttributeValue
Method Detail

contains

public boolean contains(AttributeValue attributeValue)

getAttributes

public Attributes getAttributes()

getAttributeValue

public AttributeValue getAttributeValue(int row)

getAttrValsForName

public java.util.List getAttrValsForName(java.lang.String attrName)
Returns the AttributeValue instances in me whose name is attrName, ignoring case.

Parameters:
attrName -
Returns:

getAttrValues

public java.util.List getAttrValues()
Returns:
a List of AttributeValue instances (my rows)
See Also:
AttributeValue

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getUniqueAttrNames

public java.util.Set getUniqueAttrNames()
Returns a Set of unique attribute names (StringS) in me.

Returns: