Package wt.vc.views

Class Variation1

All Implemented Interfaces:
Serializable, Comparable, EnumeratedType, LocalizableMetadata, LocalizableMessage, Message

Variation1 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 variation1. 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
See Also:
  • Field Details

    • PRODUCTION

      public static final Variation1 PRODUCTION


      Supported API: true
    • COSTING

      public static final Variation1 COSTING


      Supported API: true
    • TESTING

      public static final Variation1 TESTING


      Supported API: true
  • Method Details

    • toVariation1

      public static Variation1 toVariation1(String internal_value) throws WTInvalidParameterException
      Returns the Variation1 instance for the internal_value argument.

      Supported API: true
      Parameters:
      internal_value - The internal (persistent) value for a valid instance of Variation1.
      Returns:
      Variation1
      Throws:
      WTInvalidParameterException