|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtitools.qti.attribute.AbstractAttribute
org.qtitools.qti.attribute.MultipleAttribute
org.qtitools.qti.attribute.enumerate.ViewMultipleAttribute
public class ViewMultipleAttribute
Attribute with view values.
| Field Summary |
|---|
| Fields inherited from class org.qtitools.qti.attribute.MultipleAttribute |
|---|
FIELDS_SEPARATOR |
| Fields inherited from class org.qtitools.qti.attribute.AbstractAttribute |
|---|
logger |
| Constructor Summary | |
|---|---|
ViewMultipleAttribute(XmlNode parent,
java.lang.String name)
Constructs attribute. |
|
ViewMultipleAttribute(XmlNode parent,
java.lang.String name,
java.util.List<View> defaultValue)
Constructs attribute. |
|
ViewMultipleAttribute(XmlNode parent,
java.lang.String name,
java.util.List<View> value,
java.util.List<View> defaultValue,
boolean required)
Constructs attribute. |
|
| Method Summary | |
|---|---|
java.util.List<View> |
getDefaultValues()
Gets default value of attribute. |
View[] |
getSupportedValues()
Gets all supported values of this attribute. |
java.util.List<View> |
getValues()
Gets value of attribute. |
protected View |
parseValue(java.lang.String value)
Parses value from given string. |
| Methods inherited from class org.qtitools.qti.attribute.MultipleAttribute |
|---|
defaultValueToString, load, load, valueToString |
| Methods inherited from class org.qtitools.qti.attribute.AbstractAttribute |
|---|
getFullName, getLoadedValue, getLoadingProblem, getName, getParent, isRequired, isSupported, setLoadedValue, setLoadingProblem, setSupported, toString, toXmlString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
public ViewMultipleAttribute(XmlNode parent,
java.lang.String name)
parent - attribute's parentname - attribute's name
public ViewMultipleAttribute(XmlNode parent,
java.lang.String name,
java.util.List<View> defaultValue)
parent - attribute's parentname - attribute's namedefaultValue - attribute's default value
public ViewMultipleAttribute(XmlNode parent,
java.lang.String name,
java.util.List<View> value,
java.util.List<View> defaultValue,
boolean required)
parent - attribute's parentname - attribute's namevalue - attribute's valuedefaultValue - attribute's default valuerequired - is this attribute required| Method Detail |
|---|
public java.util.List<View> getValues()
MultipleAttribute
getValues in class MultipleAttributepublic java.util.List<View> getDefaultValues()
MultipleAttribute
getDefaultValues in class MultipleAttributeprotected View parseValue(java.lang.String value)
MultipleAttribute
parseValue in class MultipleAttributevalue - string value
public View[] getSupportedValues()
getSupportedValues in interface EnumerateAttribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||