com.telelogic.cs.api
Class AttributeDefinition

java.lang.Object
  extended by com.telelogic.cs.api.AttributeDefinition

public class AttributeDefinition
extends java.lang.Object

Exposes properties of an attribute as defined in the lifecycle editor. Each attribute on a CR (a name, value pair) obeys the constraints of the attribute definition of the same name.

Since:
4.7 06

Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLabel()
          A display name for the attribute.
 java.lang.String getName()
          The name of this attribute definition, e.g., problem_number.
 java.lang.String getType()
          The type of the attribute.
 java.lang.String getWebtype()
          Determines which "control" will be used when displaying this attribute in a web browser.
 int hashCode()
           
 boolean isQueriable()
          Indicates if this attribute should be shown in query related dialogs.
 boolean isReportable()
          Indicates if this attribute should be shown in report related dialogs.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
The name of this attribute definition, e.g., problem_number.

Returns:
the name of the attribute.

getLabel

public java.lang.String getLabel()
A display name for the attribute. This may be a more readable name for users, can contain spaces, and may be localized, e.g. "Estimated Completion Date".

Returns:
a displayname for the attribute.

getType

public java.lang.String getType()
The type of the attribute. This indicates the type that will be used to store the attribute in the database.

Returns:
the database type of the attribute.

getWebtype

public java.lang.String getWebtype()
Determines which "control" will be used when displaying this attribute in a web browser. This is for the visual display of an attribute, and how a web browser user would interact with it.

Returns:
name of the webtype used to show this attribute.

isQueriable

public boolean isQueriable()
Indicates if this attribute should be shown in query related dialogs.

Returns:
true if query dialogs will show this attribute, otherwise false.

isReportable

public boolean isReportable()
Indicates if this attribute should be shown in report related dialogs.

Returns:
true if report dialogs will show this attribute, otherwise false.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


© Copyright IBM Corporation 2000, 2009
US Government Users Restricted Rights--Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Notices