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
See Also:
  • 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

      Persistable getSerialNumberedInstanceOf() throws WTException
      Returns Persistable associated with the instance.

      Supported API: true
      Throws:
      WTException