Package wt.vc.views
Class View
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.vc.views._View
wt.vc.views.View
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,NetFactor,ObjectMappable,Persistable,DisplayIdentification
@GenAsPersistable(superClass=WTObject.class,versions=-433302533224513071L,properties={@GeneratedProperty(name="name",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The name of the View. Must be unique.",constraints=@PropertyConstraints(upperLimit=30,required=true),columnProperties=@ColumnProperties(unique=true)),@GeneratedProperty(name="sortId",type=int.class,accessors=@PropertyAccessors(setAccess=PACKAGE))},tableProperties=@TableProperties(tableName="WTView"))
public final class View
extends _View
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:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of this view.protected voidinitialize(String viewName) Supports initialization, following construction of an instance.static ViewFactory method for creating views.Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
-
Method Details
-
newView
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:
-
LoadViewsLoadView
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
viewName-- Throws:
WTException
-
getIdentity
Returns the name of this view.
Supported API: true- Specified by:
getIdentityin interfacePersistable- Overrides:
getIdentityin classWTObject- Returns:
- String
-