Package wt.vc.views
Class Variation2
java.lang.Object
wt.fc.EnumeratedType
wt.fc._DynamicEnumType
wt.fc.DynamicEnumType
wt.vc.views._Variation2
wt.vc.views.Variation2
- All Implemented Interfaces:
Serializable,Comparable,EnumeratedType,LocalizableMetadata,LocalizableMessage,Message
@GenAsEnumeratedType(superClass=DynamicEnumType.class,
supportedAPI=PUBLIC)
public final class Variation2
extends _Variation2
Variation2 is an enumerated type on ViewManageable objects to allow for
an extra degree of branching within a view. That is to say that a new
view version can be created from an existing view version without a change
of view but simply a change of variation2.
This attribute of ViewManageable can only be used when the preference
for allowing variations is enabled. The name of this preference is the
value of the constant ViewHelper.ALLOW_VIEW_VARIATIONS_PREF_NAME.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Variation2
Supported API: truestatic final Variation2
Supported API: truestatic final Variation2
Supported API: truestatic final Variation2
Supported API: truestatic final Variation2
Supported API: trueFields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE -
Method Summary
Modifier and TypeMethodDescriptionstatic Variation2toVariation2(String internal_value) Returns the Variation2 instance for the internal_value argument.Methods inherited from class wt.vc.views._Variation2
getValueSet, getVariation2Default, getVariation2SetMethods inherited from class wt.fc.DynamicEnumType
getDisplayMethods inherited from class wt.fc.EnumeratedType
equals, getLocalizedMessage, getOrder, getSelectableValueSet, getStringValue, getStringValue, hashCode, isDefaultValue, isDefaultValue, isSelectable, main, toEnumeratedType, toEnumeratedType, toString
-
Field Details
-
ONE
Supported API: true -
TWO
Supported API: true -
THREE
Supported API: true -
FOUR
Supported API: true -
FIVE
Supported API: true
-
-
Method Details
-
toVariation2
Returns the Variation2 instance for the internal_value argument.
Supported API: true- Parameters:
internal_value- The internal (persistent) value for a valid instance of Variation2.- Returns:
- Variation2
- Throws:
WTInvalidParameterException
-