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

java.lang.Object
  extended bynet.sourceforge.groboutils.pmti.v1.defimpl.DefaultAttributeInfo
All Implemented Interfaces:
IAttributeInfo

public class DefaultAttributeInfo
extends java.lang.Object
implements IAttributeInfo

Describes a particular attribute. Note that since attributes may be shared among issue types, this cannot describe the particulars of the real attribute's type.

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

Constructor Summary
DefaultAttributeInfo(java.lang.String n, java.lang.String d, java.lang.Class[] t)
           
 
Method Summary
 java.lang.String getDescription()
          Returns a human-readable description of this attribute.
 java.lang.String getName()
          Returns the identifying name of this attribute.
 java.lang.Class[] getValueTypes()
          Returns a list of the acceptable types (baseclasses and interfaces) for the values stored with this attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAttributeInfo

public DefaultAttributeInfo(java.lang.String n,
                            java.lang.String d,
                            java.lang.Class[] t)
Method Detail

getName

public java.lang.String getName()
Returns the identifying name of this attribute.

Specified by:
getName in interface IAttributeInfo

getDescription

public java.lang.String getDescription()
Returns a human-readable description of this attribute.

Specified by:
getDescription in interface IAttributeInfo

getValueTypes

public java.lang.Class[] getValueTypes()
Returns a list of the acceptable types (baseclasses and interfaces) for the values stored with this attribute. Implementations should return a minimal but most descriptive set of classes (that is, only returning java.lang.Object is not descriptive; likewise if there are many known implementations of an inferface, only the interface need to be returned). This is a convenience method, and should not be relied upon to generate input values.

Specified by:
getValueTypes in interface IAttributeInfo


Copyright © 2001-2003 by The GroboUtils Project