net.sourceforge.groboutils.pmti.v1.defimpl
Class DefaultAttributeSet
java.lang.Object
net.sourceforge.groboutils.pmti.v1.defimpl.DefaultAttributeSet
- All Implemented Interfaces:
- IAttributeSet
- Direct Known Subclasses:
- DefaultEditableAttributeSet
- public class DefaultAttributeSet
- extends java.lang.Object
- implements IAttributeSet
Contains a queryable set of attribute name-value pairs associated with
issue types. Implementations may have direct accessors for these
attributes. Common attributes include: who reported the issue, a list
of comments written about this issue, and a history of the changes the
issue has gone through. All IAttributeSet implementations must be
immutable, unless they also implement IEditableAttributeSet.
- Since:
- July 12, 2002
- Version:
- $Date: 2003/02/10 22:51:58 $
- Author:
- Matt Albrecht groboclown@users.sourceforge.net
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAttributeSet
public DefaultAttributeSet(IAttribute[] a)
getAttributes
public IAttribute[] getAttributes()
- Returns a list of all attributes.
- Specified by:
getAttributes
in interface IAttributeSet
getAttributeNames
public java.lang.String[] getAttributeNames()
- Specified by:
getAttributeNames
in interface IAttributeSet
getAttribute
public IAttribute getAttribute(java.lang.String name)
- Finds the attribute for the given name.
- Specified by:
getAttribute
in interface IAttributeSet
- Returns:
- the attribute for the name, or null if no such
attribute exists.
createAttributeArray
protected IAttribute[] createAttributeArray(int size)
Copyright © 2001-2003 by The GroboUtils Project