com.rapidtransform.part.model
Class GenericItemInstanceRelation

java.lang.Object
  extended by com.rapidtransform.core.model.AbstractBaseModel
      extended by com.rapidtransform.part.model.ItemInstanceRelation
          extended by com.rapidtransform.part.model.GenericItemInstanceRelation
All Implemented Interfaces:
Model, Approvable, OrganizationalData, OrganizationElement, Effective, java.io.Serializable

public class GenericItemInstanceRelation
extends ItemInstanceRelation

Defines a relation between two ItemInstance objects whose relation is defined by the relationType attribute on this class.

Author:
Steve
See Also:
Serialized Form

Nested Class Summary
static class GenericItemInstanceRelation.RelationType
           
 
Constructor Summary
GenericItemInstanceRelation()
           
 
Method Summary
 java.lang.String getDescription()
           
 GenericItemInstanceRelation.RelationType getType()
           
 void setDescription(java.lang.String description)
           
 void setType(GenericItemInstanceRelation.RelationType relationType)
           
 
Methods inherited from class com.rapidtransform.part.model.ItemInstanceRelation
getDocuments, getRelated, getRelating, setDocuments, setRelated, setRelating
 
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

GenericItemInstanceRelation

public GenericItemInstanceRelation()
Method Detail

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class ItemInstanceRelation
Returns:
Returns the description.

setDescription

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

getType

public GenericItemInstanceRelation.RelationType getType()
Returns:
Returns the relationType.

setType

public void setType(GenericItemInstanceRelation.RelationType relationType)
Parameters:
relationType - The relationType to set.