com.rapidtransform.product.model
Class ProductStructureRelation

java.lang.Object
  extended by com.rapidtransform.core.model.AbstractBaseModel
      extended by com.rapidtransform.product.model.ProductStructureRelation
All Implemented Interfaces:
Model, Approvable, OrganizationalData, OrganizationElement, InstanceUsageContext, Effective, java.io.Serializable
Direct Known Subclasses:
ProductToItemInstance, ProductToProduct

public abstract class ProductStructureRelation
extends AbstractBaseModel
implements InstanceUsageContext, Approvable, OrganizationElement, OrganizationalData, Effective

The ProductStructureRelation links a Product with it's ProductConstituents, where the consituent is a functional, logical, or physical component or realization of the complex product.

Author:
S. Werner
See Also:
Serialized Form

Nested Class Summary
static class ProductStructureRelation.RelationType
           
 
Constructor Summary
ProductStructureRelation()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.util.Set<Document> getDocuments()
           
 Product getRelating()
           
 ProductStructureRelation.RelationType getType()
           
 void setDescription(java.lang.String description)
           
 void setDocuments(java.util.Set<Document> documents)
           
 void setRelating(Product relating)
           
 void setType(ProductStructureRelation.RelationType type)
           
 
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

ProductStructureRelation

public ProductStructureRelation()
Method Detail

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.

getDocuments

public java.util.Set<Document> getDocuments()
Returns:
Returns the documents.

setDocuments

public void setDocuments(java.util.Set<Document> documents)
Parameters:
documents - The documents to set.

getRelating

public Product getRelating()
Returns:
Returns the relating.

setRelating

public void setRelating(Product relating)
Parameters:
relating - The relating to set.

getType

public ProductStructureRelation.RelationType getType()
Returns:
Returns the type.

setType

public void setType(ProductStructureRelation.RelationType type)
Parameters:
type - The type to set.