|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.enterprise.Simple
wt.effectivity.WTProductInstance
Replaced by WTProductInstance2
.
Use the newWTProductInstance
static factory method(s), not
the WTProductInstance
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
Field Summary | |
private Timestamp |
buildDate
Deprecated. |
private static String |
CLASSNAME
Deprecated. |
static String |
CONFIG_ITEM
Deprecated. |
static String |
CONFIG_ITEM_REFERENCE
Deprecated. |
private ObjectReference |
configItemReference
Deprecated. |
static long |
EXTERNALIZATION_VERSION_UID
Deprecated. |
protected static long |
OLD_FORMAT_VERSION_UID
Deprecated. |
private static String |
RESOURCE
Deprecated. |
static String |
SERIAL_NUMBER
Deprecated. |
private static int |
SERIAL_NUMBER_UPPER_LIMIT
Deprecated. |
private String |
serialNumber
Deprecated. |
(package private) static long |
serialVersionUID
Deprecated. |
Fields inherited from class wt.enterprise.Simple |
|
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.eff.ProductInstance |
BUILD_DATE, CONFIG_ITEM_DESCRIPTION, CONFIG_ITEM_NAME, SOLUTION, SOLUTION_REFERENCE |
Fields inherited from interface wt.eff.EffContext |
IDENTIFICATION_OBJECT |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.fc.BusinessInformation |
BUSINESS_TYPE, IDENTITY |
Fields inherited from interface wt.notify.Notifiable |
EVENT_SET |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
WTProductInstance()
Deprecated. |
Method Summary | |
private void |
configItemReferenceValidate(ObjectReference a_ConfigItemReference)
Deprecated. |
boolean |
equals(Object obj)
Deprecated. |
Timestamp |
getBuildDate()
Deprecated. |
String |
getConceptualClassname()
Deprecated. |
EffConfigurationItem |
getConfigItem()
Deprecated. |
String |
getConfigItemDescription()
Deprecated. |
String |
getConfigItemName()
Deprecated. |
ObjectReference |
getConfigItemReference()
Deprecated. |
IdentificationObject |
getIdentificationObject()
Deprecated. |
String |
getIdentity()
Deprecated. Gets the value of the attribute: IDENTITY. |
Serializable |
getSerialNumber()
Deprecated. |
ProductSolution |
getSolution()
Deprecated. |
ObjectReference |
getSolutionReference()
Deprecated. |
int |
hashCode()
Deprecated. |
protected void |
initialize(ConfigurationItem configurationItem,
String serialNumber)
Deprecated. |
static WTProductInstance |
newWTProductInstance(ConfigurationItem configurationItem,
String serialNumber)
Deprecated. |
void |
readExternal(ObjectInput input)
Deprecated. |
void |
readExternal(PersistentRetrieveIfc 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(WTProductInstance thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Deprecated. |
private void |
serialNumberValidate(Serializable a_SerialNumber)
Deprecated. |
void |
setBuildDate(Timestamp a_BuildDate)
Deprecated. |
void |
setConfigItem(EffConfigurationItem a_ConfigItem)
Deprecated. |
void |
setConfigItemReference(ObjectReference a_ConfigItemReference)
Deprecated. |
void |
setIdentificationObject(IdentificationObject a_IdentificationObject)
Deprecated. |
void |
setSerialNumber(Serializable a_SerialNumber)
Deprecated. |
void |
writeExternal(ObjectOutput output)
Deprecated. |
void |
writeExternal(PersistentStoreIfc output)
Deprecated. |
Methods inherited from class wt.enterprise.Simple |
getBusinessType, getDomainRef, getEventSet, initialize, isInheritedDomain, readVersion, setDomainRef, setEventSet, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String SERIAL_NUMBER
private static int SERIAL_NUMBER_UPPER_LIMIT
private String serialNumber
public static final String CONFIG_ITEM
public static final String CONFIG_ITEM_REFERENCE
private ObjectReference configItemReference
private Timestamp buildDate
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public WTProductInstance()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Simple
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Simple
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WTProductInstance thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Simple
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Simple
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public Serializable getSerialNumber()
getSerialNumber
in interface ProductInstance
public void setSerialNumber(Serializable a_SerialNumber) throws WTPropertyVetoException
setSerialNumber
in interface ProductInstance
a_SerialNumber
-
WTPropertyVetoException
private void serialNumberValidate(Serializable a_SerialNumber) throws WTPropertyVetoException
a_SerialNumber
-
WTPropertyVetoException
public EffConfigurationItem getConfigItem()
getConfigItem
in interface ProductInstance
public void setConfigItem(EffConfigurationItem a_ConfigItem) throws WTPropertyVetoException, WTException
setConfigItem
in interface ProductInstance
a_ConfigItem
-
WTPropertyVetoException
WTException
public ObjectReference getConfigItemReference()
getConfigItemReference
in interface ProductInstance
public void setConfigItemReference(ObjectReference a_ConfigItemReference) throws WTPropertyVetoException
setConfigItemReference
in interface ProductInstance
a_ConfigItemReference
-
WTPropertyVetoException
private void configItemReferenceValidate(ObjectReference a_ConfigItemReference) throws WTPropertyVetoException
a_ConfigItemReference
-
WTPropertyVetoException
public static WTProductInstance newWTProductInstance(ConfigurationItem configurationItem, String serialNumber) throws WTException
configurationItem
- serialNumber
-
WTException
protected void initialize(ConfigurationItem configurationItem, String serialNumber) throws WTException
configurationItem
- serialNumber
-
WTException
public Timestamp getBuildDate()
getBuildDate
in interface ProductInstance
IncorporationDate
public void setBuildDate(Timestamp a_BuildDate) throws WTPropertyVetoException
setBuildDate
in interface ProductInstance
a_BuildDate
-
WTPropertyVetoException
IncorporationDate
public String getConfigItemName()
getConfigItemName
in interface ProductInstance
public String getConfigItemDescription()
getConfigItemDescription
in interface ProductInstance
public ProductSolution getSolution()
getSolution
in interface ProductInstance
public ObjectReference getSolutionReference()
getSolutionReference
in interface ProductInstance
public IdentificationObject getIdentificationObject() throws WTException
getIdentificationObject
in interface EffContext
WTException
UniquelyIdentified
,
IdentificationObject
public void setIdentificationObject(IdentificationObject a_IdentificationObject) throws WTException
setIdentificationObject
in interface EffContext
a_IdentificationObject
-
WTException
UniquelyIdentified
,
IdentificationObject
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class Simple
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class Simple
public String getIdentity()
Persistable
getIdentity
in interface Persistable
getIdentity
in class Simple
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |