net.sourceforge.groboutils.pmti.v1.defimpl
Class DefaultListAttribute

java.lang.Object
  extended bynet.sourceforge.groboutils.pmti.v1.defimpl.DefaultListAttribute
All Implemented Interfaces:
IAttribute, IListAttribute

public class DefaultListAttribute
extends java.lang.Object
implements IListAttribute

A specialization of an attribute which contains a list of values.

Since:
July 12, 2002
Version:
$Date: 2003/02/10 22:51:59 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Constructor Summary
DefaultListAttribute(java.lang.Object[] o, IAttributeInfo i)
           
 
Method Summary
 boolean containsValue(java.lang.Object value)
           
 IAttributeInfo getInfo()
          Returns the meta-information for this attribute.
 java.lang.Object getValue()
          Returns the enumeration for all values in this attribute.
 int getValueCount()
           
 java.util.Enumeration getValues()
          A synonym for getValue(), but redefined here to explicitly declare the returned type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultListAttribute

public DefaultListAttribute(java.lang.Object[] o,
                            IAttributeInfo i)
Method Detail

getValue

public java.lang.Object getValue()
Returns the enumeration for all values in this attribute.

Specified by:
getValue in interface IAttribute

getInfo

public IAttributeInfo getInfo()
Returns the meta-information for this attribute.

Specified by:
getInfo in interface IAttribute

getValues

public java.util.Enumeration getValues()
A synonym for getValue(), but redefined here to explicitly declare the returned type.

Specified by:
getValues in interface IListAttribute

getValueCount

public int getValueCount()
Specified by:
getValueCount in interface IListAttribute
Returns:
the number of value elements in this list attribute.

containsValue

public boolean containsValue(java.lang.Object value)
Specified by:
containsValue in interface IListAttribute


Copyright © 2001-2003 by The GroboUtils Project