com.rapidtransform.part.model
Class SpecifiedInstance

java.lang.Object
  extended by com.rapidtransform.core.model.AbstractBaseModel
      extended by com.rapidtransform.core.model.VersionControlled
          extended by com.rapidtransform.part.model.ItemInstance
              extended by com.rapidtransform.part.model.SpecifiedInstance
All Implemented Interfaces:
Classified, Model, Versioned, Approvable, OrganizationalData, OrganizationElement, ItemInformation, ProductConstituent, Effective, java.io.Serializable

public class SpecifiedInstance
extends ItemInstance

This class identifies a single item on an assembly that reuses partial decompositions. To be exact, the related instance is the object to be identified. The upperUsage instance is the ItemInstance in which the related instance is used. The assembly specifies the assembly in which the related instance is used.

Author:
S. Werner
See Also:
Serialized Form

Constructor Summary
SpecifiedInstance()
           
SpecifiedInstance(ItemView forView)
          Create an instance for the specified IntemVersion.
 
Method Summary
 Assembly getAssembly()
           
 ItemInstance getRelated()
           
 ItemInstance getUpperUsage()
           
 void setAssembly(Assembly assembly)
           
 void setRelated(ItemInstance related)
           
 void setUpperUsage(ItemInstance upperUsage)
           
 
Methods inherited from class com.rapidtransform.part.model.ItemInstance
getAliases, getConfigs, getDescription, getDocuments, getItemView, getManufacturingConfigs, getRelations, setAliases, setConfigs, setDescription, setDocuments, setItemView, setManufacturingConfig, setManufacturingConfigs, setRelations
 
Methods inherited from class com.rapidtransform.core.model.VersionControlled
getCreatedBy, getCreatedDate, getIteration, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setIteration, setModifiedBy, setModifiedDate
 
Methods inherited from class com.rapidtransform.core.model.AbstractBaseModel
equals, generateUuid, getId, getMetaTypeName, getPropertyHolder, getUuid, hashCode, setId, setMetaTypeName, setPropertyHolder, setUuid
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecifiedInstance

public SpecifiedInstance()

SpecifiedInstance

public SpecifiedInstance(ItemView forView)
Create an instance for the specified IntemVersion.

Parameters:
forView - The parent ItemView of this instance
Method Detail

getAssembly

public Assembly getAssembly()
Returns:
Returns the assembly.

setAssembly

public void setAssembly(Assembly assembly)
Parameters:
assembly - The assembly to set.

getRelated

public ItemInstance getRelated()
Returns:
Returns the related.

setRelated

public void setRelated(ItemInstance related)
Parameters:
related - The related to set.

getUpperUsage

public ItemInstance getUpperUsage()
Returns:
Returns the upperUsage.

setUpperUsage

public void setUpperUsage(ItemInstance upperUsage)
Parameters:
upperUsage - The upperUsage to set.