wt.configuration
Interface SerialNumberedInstanceIfc

All Superinterfaces:
NetFactor, ObjectMappable, Persistable, Serializable
All Known Subinterfaces:
SerialNumberedComponentInstance, SerialNumberedConfiguredInstanceMaster, SerialNumberedInstanceMaster
All Known Implementing Classes:
WTProductInstanceMaster, WTSerialNumberedPartInstance

public interface SerialNumberedInstanceIfc
extends Persistable

The interface portion of a serial numbered instance (the implementation portion is SerialNumberedInstanceImpl. This package supports two kinds of instances, SerialNumberedComponentInstance and SerialNumberedInstanceMaste. The former is implemented as WTSerialNumberedPartInstance, the latter WTProductInstanceMaster.

Supported API: true

Extendable: false

See Also:
SerialNumberedInstanceImpl

Field Summary
static String INSTANCE_OF
          Label for the attribute; The object this instance is an instance of.
static String INSTANCE_OF_REFERENCE
          Label for the attribute; The object this instance is an instance of.
static String SERIAL_NUMBER
          Label for the attribute; The serial number of the object.
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Method Summary
 SerialNumbered getInstanceOf()
          Gets the object for the association that plays role: INSTANCE_OF.
 ObjectReference getInstanceOfReference()
          Gets the value of the attribute: INSTANCE_OF_REFERENCE.
 String getSerialNumber()
          Gets the value of the attribute: SERIAL_NUMBER.
 void setInstanceOf(SerialNumbered a_InstanceOf)
          Sets the object for the association that plays role: INSTANCE_OF.
 void setInstanceOfReference(ObjectReference a_InstanceOfReference)
          Sets the value of the attribute: INSTANCE_OF_REFERENCE.
 void setSerialNumber(String a_SerialNumber)
          Sets the value of the attribute: SERIAL_NUMBER.
 
Methods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo
 
Methods inherited from interface wt.fc.ObjectMappable
readExternal, writeExternal
 
Methods inherited from interface wt.fc.NetFactor
getClassInfo, getConceptualClassname
 

Field Detail

SERIAL_NUMBER

public static final String SERIAL_NUMBER
Label for the attribute; The serial number of the object. The serial number must be unique in the context of its serial numbered object.

Supported API: true

See Also:
SerialNumbered, Constant Field Values

INSTANCE_OF

public static final String INSTANCE_OF
Label for the attribute; The object this instance is an instance of.

Supported API: true

See Also:
Constant Field Values

INSTANCE_OF_REFERENCE

public static final String INSTANCE_OF_REFERENCE
Label for the attribute; The object this instance is an instance of.

Supported API: true

See Also:
Constant Field Values
Method Detail

getSerialNumber

public String getSerialNumber()
Gets the value of the attribute: SERIAL_NUMBER. The serial number of the object. The serial number must be unique in the context of its serial numbered object.

Supported API: true

Returns:
String
See Also:
SerialNumbered

setSerialNumber

public void setSerialNumber(String a_SerialNumber)
                     throws WTPropertyVetoException
Sets the value of the attribute: SERIAL_NUMBER. The serial number of the object. The serial number must be unique in the context of its serial numbered object.

Supported API: true

Parameters:
a_SerialNumber -
Throws:
WTPropertyVetoException
See Also:
SerialNumbered

getInstanceOf

public SerialNumbered getInstanceOf()
Gets the object for the association that plays role: INSTANCE_OF. The object this instance is an instance of.

Supported API: true

Returns:
SerialNumbered

setInstanceOf

public void setInstanceOf(SerialNumbered a_InstanceOf)
                   throws WTPropertyVetoException,
                          WTException
Sets the object for the association that plays role: INSTANCE_OF. The object this instance is an instance of.

Supported API: true

Parameters:
a_InstanceOf -
Throws:
WTPropertyVetoException
WTException

getInstanceOfReference

public ObjectReference getInstanceOfReference()
Gets the value of the attribute: INSTANCE_OF_REFERENCE. The object this instance is an instance of.

Supported API: true

Returns:
ObjectReference

setInstanceOfReference

public void setInstanceOfReference(ObjectReference a_InstanceOfReference)
                            throws WTPropertyVetoException
Sets the value of the attribute: INSTANCE_OF_REFERENCE. The object this instance is an instance of.

Supported API: true

Parameters:
a_InstanceOfReference -
Throws:
WTPropertyVetoException