Package wt.vc
Class IterationIdentifier
java.lang.Object
wt.vc._IterationIdentifier
wt.vc.IterationIdentifier
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,NetFactor,ObjectMappable
@GenAsObjectMappable(versions=4215211265623835657L,properties={@GeneratedProperty(name="iterationId",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 IterationIdentifier
extends wt.vc._IterationIdentifier
An identifier that uniquely labels an iteration.
Use the newIterationIdentifier static factory method(s),
not the IterationIdentifier 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 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(String number) Supports initialization, following construction of an instance.protected voidinitialize(Series value) Supports initialization, following construction of an instance.static IterationIdentifierConstructs an IterationIdentifier.static IterationIdentifiernewIterationIdentifier(String number) Constructs an IterationIdentifier using a String.static IterationIdentifiernewIterationIdentifier(Series value) Constructs an IterationIdentifier using a Series.
-
Method Details
-
newIterationIdentifier
Constructs an IterationIdentifier.
Supported API: true- Returns:
- IterationIdentifier
- Throws:
WTException
-
newIterationIdentifier
Constructs an IterationIdentifier using a Series.
Supported API: true- Parameters:
value-- Returns:
- IterationIdentifier
- 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
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- 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
-
newIterationIdentifier
Constructs an IterationIdentifier using a String.
Supported API: true- Parameters:
number-- Returns:
- IterationIdentifier
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
number-- Throws:
WTException
-