wt.configuration
Interface SerialNumberedComponentInstance

All Superinterfaces:
NetFactor, ObjectMappable, Persistable, Serializable, SerialNumberedInstanceIfc, SerialNumberedInstanceImpl
All Known Implementing Classes:
WTSerialNumberedPartInstance

public interface SerialNumberedComponentInstance
extends SerialNumberedInstanceImpl, SerialNumberedInstanceIfc

An instance of a SerialNumberedComponentMaster that has as its configuration a SerialNumberedComponentVersion. This instance is not versioned and does not undergo change. This object is both the instance (SerialNumberedInstanceIfc) and implementation (SerialNumberedInstanceImpl) of an instance.

Supported API: true

Extendable: true

See Also:
WTSerialNumberedPartInstance

Field Summary
static String CONFIGURATION
          Label for the attribute.
static String CONFIGURATION_REFERENCE
          Label for the attribute.
static String INSTANCE_OF
          Label for the attribute.
static String INSTANCE_OF_REFERENCE
          Label for the attribute.
static String SERIAL_NUMBER
          Label for the attribute.
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Method Summary
 Configuration getConfiguration()
          Gets the object for the association that plays role: CONFIGURATION.
 VersionReference getConfigurationReference()
          Gets the value of the attribute: CONFIGURATION_REFERENCE.
 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 setConfiguration(Configuration a_Configuration)
          Sets the object for the association that plays role: CONFIGURATION.
 void setConfigurationReference(VersionReference a_ConfigurationReference)
          Sets the value of the attribute: CONFIGURATION_REFERENCE.
 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.

Supported API: false

See Also:
Constant Field Values

INSTANCE_OF

public static final String INSTANCE_OF
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

INSTANCE_OF_REFERENCE

public static final String INSTANCE_OF_REFERENCE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

CONFIGURATION

public static final String CONFIGURATION
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

CONFIGURATION_REFERENCE

public static final String CONFIGURATION_REFERENCE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getSerialNumber

public String getSerialNumber()
Gets the value of the attribute: SERIAL_NUMBER.

Supported API: false

Specified by:
getSerialNumber in interface SerialNumberedInstanceImpl
Returns:
String

setSerialNumber

public void setSerialNumber(String a_SerialNumber)
                     throws WTPropertyVetoException
Sets the value of the attribute: SERIAL_NUMBER.

Supported API: false

Specified by:
setSerialNumber in interface SerialNumberedInstanceImpl
Parameters:
a_SerialNumber -
Throws:
WTPropertyVetoException

getInstanceOf

public SerialNumbered getInstanceOf()
Gets the object for the association that plays role: INSTANCE_OF.

Supported API: true

Specified by:
getInstanceOf in interface SerialNumberedInstanceIfc
Returns:
SerialNumbered

setInstanceOf

public void setInstanceOf(SerialNumbered a_InstanceOf)
                   throws WTPropertyVetoException,
                          WTException
Sets the object for the association that plays role: INSTANCE_OF.

Supported API: true

Specified by:
setInstanceOf in interface SerialNumberedInstanceIfc
Parameters:
a_InstanceOf -
Throws:
WTPropertyVetoException
WTException

getInstanceOfReference

public ObjectReference getInstanceOfReference()
Gets the value of the attribute: INSTANCE_OF_REFERENCE.

Supported API: true

Specified by:
getInstanceOfReference in interface SerialNumberedInstanceIfc
Returns:
ObjectReference

setInstanceOfReference

public void setInstanceOfReference(ObjectReference a_InstanceOfReference)
                            throws WTPropertyVetoException
Sets the value of the attribute: INSTANCE_OF_REFERENCE.

Supported API: true

Specified by:
setInstanceOfReference in interface SerialNumberedInstanceIfc
Parameters:
a_InstanceOfReference -
Throws:
WTPropertyVetoException

getConfiguration

public Configuration getConfiguration()
Gets the object for the association that plays role: CONFIGURATION.

Supported API: true

Specified by:
getConfiguration in interface SerialNumberedInstanceImpl
Returns:
Configuration

setConfiguration

public void setConfiguration(Configuration a_Configuration)
                      throws WTPropertyVetoException,
                             WTException
Sets the object for the association that plays role: CONFIGURATION.

Supported API: true

Specified by:
setConfiguration in interface SerialNumberedInstanceImpl
Parameters:
a_Configuration -
Throws:
WTPropertyVetoException
WTException

getConfigurationReference

public VersionReference getConfigurationReference()
Gets the value of the attribute: CONFIGURATION_REFERENCE.

Supported API: true

Specified by:
getConfigurationReference in interface SerialNumberedInstanceImpl
Returns:
VersionReference

setConfigurationReference

public void setConfigurationReference(VersionReference a_ConfigurationReference)
                               throws WTPropertyVetoException
Sets the value of the attribute: CONFIGURATION_REFERENCE.

Supported API: true

Specified by:
setConfigurationReference in interface SerialNumberedInstanceImpl
Parameters:
a_ConfigurationReference -
Throws:
WTPropertyVetoException