Package wt.vc

Class OneOffVersionIdentifier

java.lang.Object
wt.vc._OneOffVersionIdentifier
wt.vc.OneOffVersionIdentifier
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, NetFactor, ObjectMappable

@GenAsObjectMappable(versions=5072877698806010356L,properties={@GeneratedProperty(name="persisted",type=boolean.class,initialValue="true",accessors=@PropertyAccessors(getAccess=PROTECTED),columnProperties=@ColumnProperties(persistent=false)),@GeneratedProperty(name="oneOffVersionId",type=java.lang.String.class,javaDoc="An identifier that uniquely labels an iteration. This attribute seems to be duplicative with the \"value\" attribute within the \"identifier\" attribute but is required since the identifier is typed as an abstract class that can\'t be correctly generated for externalization (i.e., the abstract class is all that\'s known at the time of generation to apply as the class for constructing a new instance). <P> For this [duplicative] declaration to work the \"identifier\" must be specified as not persistent. Its accessors must handle the translations between it and this id. And there must be no accessors generated for this id. </P>",accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(upperLimit=60)),@GeneratedProperty(name="series",type=Series.class,accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(persistent=false))}) public class OneOffVersionIdentifier extends wt.vc._OneOffVersionIdentifier
An identifier that uniquely labels a One Off Version.

Use the newOneOffVersionIdentifier static factory method(s), not the OneOffVersionIdentifier 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

    • newOneOffVersionIdentifier

      public static OneOffVersionIdentifier newOneOffVersionIdentifier() throws WTException
      Constructs a OneOffVersionIdentifier.

      Supported API: true
      Returns:
      OneOffVersionIdentifier
      Throws:
      WTException
    • initialize

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

      Supported API: true
      Throws:
      WTException
    • newOneOffVersionIdentifier

      public static OneOffVersionIdentifier newOneOffVersionIdentifier(Series value) throws WTException
      Constructs a OneOffVersionIdentifier using a Series.

      Supported API: true
      Parameters:
      value -
      Returns:
      OneOffVersionIdentifier
      Throws:
      WTException
    • initialize

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

      Supported API: true
      Parameters:
      value -
      Throws:
      WTException
    • getSeries

      public Series getSeries() throws VersionControlException
      Gets the series.

      Supported API: true
      Returns:
      Series
      Throws:
      VersionControlException
    • getValue

      public String getValue()
      Gets the aggregated series' value and returns it as a string.

      Supported API: true
      Returns:
      String