wt.eff
Class ProductInstanceIdentificationObject

java.lang.Object
  extended bywt.fc.IdentificationObject
      extended bywt.eff.ProductInstanceIdentificationObject
All Implemented Interfaces:
Externalizable, NetFactor, Serializable

public class ProductInstanceIdentificationObject
extends IdentificationObject
implements Externalizable

The identification object to be used by all implementations of product instance.

Use the newProductInstanceIdentificationObject static factory method(s), not the ProductInstanceIdentificationObject 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: false

Extendable: false

See Also:
ProductInstance, Serialized Form

Field Summary
private static String CLASSNAME
          Deprecated.  
private  EffConfigurationItem configItem
          Deprecated.  
static long EXTERNALIZATION_VERSION_UID
          Deprecated.  
protected static long OLD_FORMAT_VERSION_UID
          Deprecated.  
private static String RESOURCE
          Deprecated.  
private  Serializable serialNumber
          Deprecated.  
(package private) static long serialVersionUID
          Deprecated.  
 
Fields inherited from class wt.fc.IdentificationObject
 
Constructor Summary
ProductInstanceIdentificationObject()
          Deprecated.  
 
Method Summary
 String getConceptualClassname()
          Deprecated.  
 EffConfigurationItem getConfigItem()
          Deprecated.  
 String getIdentity()
          Deprecated.  
protected  String getKeyClassName()
          Deprecated.  
 Serializable getSerialNumber()
          Deprecated.  
protected  void initialize(ProductInstance productInstance)
          Deprecated.  
static ProductInstanceIdentificationObject newProductInstanceIdentificationObject(ProductInstance productInstance)
          Deprecated.  
 void readExternal(ObjectInput input)
          Deprecated.  
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Deprecated. Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(ProductInstanceIdentificationObject thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Deprecated.  
private  void serialNumberValidate(Serializable a_SerialNumber)
          Deprecated.  
 void setConfigItem(EffConfigurationItem a_ConfigItem)
          Deprecated.  
 void setSerialNumber(Serializable a_SerialNumber)
          Deprecated.  
protected  void setToObject(Identified obj)
          Deprecated.  
 void writeExternal(ObjectOutput output)
          Deprecated.  
 
Methods inherited from class wt.fc.IdentificationObject
changeIdentity, checkIdentity, createKey, getClassInfo, getSemanticKey, initialize, readVersion, setAdditionalKeyAttributes, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
Deprecated. 
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Deprecated. 

configItem

private EffConfigurationItem configItem
Deprecated. 

serialNumber

private Serializable serialNumber
Deprecated. 

serialVersionUID

static final long serialVersionUID
Deprecated. 
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
Deprecated. 
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

ProductInstanceIdentificationObject

public ProductInstanceIdentificationObject()
Deprecated. 
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Deprecated.  

Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class IdentificationObject
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Deprecated.  

Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class IdentificationObject
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ProductInstanceIdentificationObject thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Deprecated.  

Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Deprecated. 
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Returns:
String

getConfigItem

public EffConfigurationItem getConfigItem()
Deprecated.  

Gets the value of the attribute: configItem; The configItem's OID is used as part of the key.

Supported API: false

Returns:
EffConfigurationItem

setConfigItem

public void setConfigItem(EffConfigurationItem a_ConfigItem)
                   throws WTPropertyVetoException
Deprecated.  

Sets the value of the attribute: configItem; The configItem's OID is used as part of the key.

Supported API: false

Parameters:
a_ConfigItem -
Throws:
WTPropertyVetoException

getSerialNumber

public Serializable getSerialNumber()
Deprecated.  

Gets the value of the attribute: serialNumber; The serial number is part of the key.

Supported API: false

Returns:
Serializable

setSerialNumber

public void setSerialNumber(Serializable a_SerialNumber)
                     throws WTPropertyVetoException
Deprecated.  

Sets the value of the attribute: serialNumber; The serial number is part of the key.

Supported API: false

Parameters:
a_SerialNumber -
Throws:
WTPropertyVetoException

serialNumberValidate

private void serialNumberValidate(Serializable a_SerialNumber)
                           throws WTPropertyVetoException
Deprecated. 
Parameters:
a_SerialNumber -
Throws:
WTPropertyVetoException

newProductInstanceIdentificationObject

public static ProductInstanceIdentificationObject newProductInstanceIdentificationObject(ProductInstance productInstance)
                                                                                  throws WTException
Deprecated.  

The factory to be used by the product instance's implementation of get/setIdentificationObject.

Supported API: false

Parameters:
productInstance -
Returns:
ProductInstanceIdentificationObject
Throws:
WTException

initialize

protected void initialize(ProductInstance productInstance)
                   throws WTException
Deprecated.  

Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: false

Parameters:
productInstance -
Throws:
WTException

getKeyClassName

protected String getKeyClassName()
Deprecated.  

Returns wt.eff.EffContextKey.

Supported API: false

Overrides:
getKeyClassName in class IdentificationObject
Returns:
String

getIdentity

public String getIdentity()
Deprecated.  

Constructs and returns a string representing the object's identity. This is an abstract method that must be implemented by classes extending the IdentifiactionObject class. A straightforward way of build a string representation of the identity is to concatenate the attributes that constitute the identity, using an appropriate separator.

Supported API: false

Specified by:
getIdentity in class IdentificationObject
Returns:
String

setToObject

protected void setToObject(Identified obj)
                    throws WTException
Deprecated.  

Updates the identity of the object passed as argument with the identity held in the object.

Supported API: false

Specified by:
setToObject in class IdentificationObject
Parameters:
obj -
Throws:
WTException