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:
-
Field Summary
Fields inherited from class wt.vc._OneOffVersionIdentifier
EXTERNALIZATION_VERSION_UID, ONE_OFF_VERSION_ID, PERSISTED, SERIES -
Method Summary
Modifier and TypeMethodDescriptionGets the series.getValue()Gets the aggregated series' value and returns it as a string.protected voidSupports initialization, following construction of an instance.protected voidinitialize(Series value) Supports initialization, following construction of an instance.static OneOffVersionIdentifierConstructs a OneOffVersionIdentifier.static OneOffVersionIdentifiernewOneOffVersionIdentifier(Series value) Constructs a OneOffVersionIdentifier using a Series.Methods inherited from class wt.vc._OneOffVersionIdentifier
getClassInfo, getConceptualClassname, isPersisted, readExternal, readExternal, readVersion, setPersisted, toString, writeExternal, writeExternal
-
Method Details
-
newOneOffVersionIdentifier
Constructs a OneOffVersionIdentifier.
Supported API: true- Returns:
- OneOffVersionIdentifier
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Throws:
WTException
-
newOneOffVersionIdentifier
Constructs a OneOffVersionIdentifier using a Series.
Supported API: true- Parameters:
value-- Returns:
- OneOffVersionIdentifier
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
value-- Throws:
WTException
-
getSeries
Gets the series.
Supported API: true- Returns:
- Series
- Throws:
VersionControlException
-
getValue
Gets the aggregated series' value and returns it as a string.
Supported API: true- Returns:
- String
-