Package wt.vc.views

Class View

java.lang.Object
wt.fc._WTObject
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, NetFactor, ObjectMappable, Persistable, DisplayIdentification

The view represents a type of branching mechanism for versioned data. Versions assigned to views are valid only in the context of the view (or in its downstream views, provided there have been no versions assigned to them). Once assigned to a View, the version becomes view-dependent; and all future versions must also be assigned to views. A version participating in a view can be "branched" into any downstream (child) views, but can not be branched into any of its parent views.

Use the newView static factory method(s), not the View constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
  • Method Details

    • newView

      public static View newView(String viewName) throws WTException
      Factory method for creating views. To create views and view associations, use the command-line interface provided or the load utility:

      Supported API: true
      Parameters:
      viewName -
      Returns:
      View
      Throws:
      WTException
      See Also:
      • LoadViews
      • LoadView
    • initialize

      protected void initialize(String viewName) throws WTException
      Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

      Supported API: true
      Parameters:
      viewName -
      Throws:
      WTException
    • getIdentity

      public String getIdentity()
      Returns the name of this view.

      Supported API: true
      Specified by:
      getIdentity in interface Persistable
      Overrides:
      getIdentity in class WTObject
      Returns:
      String