Package wt.configuration
Interface SerialNumberedInstanceVersion
- All Superinterfaces:
_Iterated,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,_SerialNumberedInstanceImpl,_SerialNumberedInstanceVersion,wt.vc._Versionable,Iterated,NetFactor,ObjectMappable,Persistable,Serializable,SerialNumberedInstanceImpl,Versionable
- All Known Subinterfaces:
wt.configuration._SerialNumberedConfiguredInstanceVersion,SerialNumberedConfiguredInstanceVersion
- All Known Implementing Classes:
_WTProductInstance2,WTProductInstance2
@GenAsPersistable(interfaces={SerialNumberedInstanceImpl.class,Versionable.class},extendable=true,properties={@GeneratedProperty(name="plannedIncorporation",type=java.sql.Timestamp.class,supportedAPI=PUBLIC,javaDoc="The date this version is planned to reflect the current configuration of the serial numbered instance it represents."),@GeneratedProperty(name="incorporated",type=java.sql.Timestamp.class,supportedAPI=PUBLIC,javaDoc="The date this version actually reflects the configuration of the serial numbered instance it represents. Use incorporatedAsStriing to display this value, as it will display the incorporation range."),@GeneratedProperty(name="unIncorporated",type=java.sql.Timestamp.class)},foreignKeys=@GeneratedForeignKey(name="SNIMSNIV",foreignKeyRole=@ForeignKeyRole(name="master",type=SerialNumberedInstanceMaster.class,supportedAPI=PUBLIC,cascade=false,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="iteration",supportedAPI=PUBLIC,cascade=false)),derivedProperties={@DerivedProperty(name="serialNumber",derivedFrom="master>serialNumber",supportedAPI=PUBLIC),@DerivedProperty(name="lotNumber",derivedFrom="master>lotNumber",supportedAPI=PUBLIC)})
public interface SerialNumberedInstanceVersion
extends _SerialNumberedInstanceVersion
A version of an instance. Because this instance (as a version) can change
over time, it has a notion of incorporation, represented as planned and
actual incorporations. The planned incorporation is the time this version
is planned to reflect the actual configuration of the instance; the actual
incorporation reflects when this actually occurs.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Field Summary
Fields inherited from interface wt.vc._Iterated
CONTROL_BRANCH, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAMEFields inherited from interface wt.configuration._SerialNumberedInstanceImpl
CONFIGURATION, CONFIGURATION_REFERENCEFields inherited from interface wt.configuration._SerialNumberedInstanceVersion
INCORPORATED, LOT_NUMBER, PLANNED_INCORPORATION, SERIAL_NUMBER -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: INCORPORATED_AS_STRING.Returns Persistable associated with the instance.Methods inherited from interface wt.vc._Iterated
getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setMaster, setMasterReferenceMethods inherited from interface wt.configuration._SerialNumberedInstanceImpl
getConfiguration, getConfigurationReference, setConfiguration, setConfigurationReferenceMethods inherited from interface wt.configuration._SerialNumberedInstanceVersion
getIncorporated, getLotNumber, getPlannedIncorporation, getSerialNumber, setIncorporated, setLotNumber, setPlannedIncorporation, setSerialNumberMethods inherited from interface wt.fc.NetFactor
getClassInfo, getConceptualClassnameMethods inherited from interface wt.fc.ObjectMappable
readExternal, writeExternalMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
getIncorporatedAsString
String getIncorporatedAsString()Gets the value of the attribute: INCORPORATED_AS_STRING. When a successor version is incorporated, its predecessor's incorporation is effectively ended. This attribute displays the incorporation as this range, so it's easier for a user to determine the actual date range this version was incorporated. If Rev A were incorporated at time X and Rev B at time Y, this attribute would return X-Y for Rev A and Y- for Rev B.
Supported API: true- Returns:
- String
-
getSerialNumberedInstanceOf
Returns Persistable associated with the instance.
Supported API: true- Throws:
WTException
-