org.qtitools.qti.attribute
Interface EnumerateAttribute

All Superinterfaces:
Attribute, java.io.Serializable, Validatable
All Known Implementing Classes:
BaseTypeAttribute, BooleanAttribute, CardinalityAttribute, NavigationModeAttribute, OrientationAttribute, ParamTypeAttribute, RoundingModeAttribute, SessionStatusAttribute, ShapeAttribute, SubmissionModeAttribute, TableCellScopeAttribute, TestFeedbackAccessAttribute, TextFormatAttribute, ToleranceModeAttribute, ViewMultipleAttribute, VisibilityModeAttribute

public interface EnumerateAttribute
extends Attribute

Attributes with known value set should implement this interface. It can help user to input value of attribute. Instead of typing values, he can choose from supported values. For example boolean values or enumeration values.

Author:
Jiri Kajaba

Method Summary
 java.lang.Object[] getSupportedValues()
          Gets all supported values of this attribute.
 
Methods inherited from interface org.qtitools.qti.attribute.Attribute
defaultValueToString, getFullName, getLoadedValue, getLoadingProblem, getName, getParent, isRequired, isSupported, load, load, setSupported, toXmlString, valueToString
 
Methods inherited from interface org.qtitools.qti.validation.Validatable
validate
 

Method Detail

getSupportedValues

java.lang.Object[] getSupportedValues()
Gets all supported values of this attribute.

Returns:
all supported values of this attribute


Copyright © 2009. All Rights Reserved.