com.rapidtransform.spec.model
Class BaseSpecRelation<SourceType extends Specified>

java.lang.Object
  extended by com.rapidtransform.core.model.AbstractBaseModel
      extended by com.rapidtransform.spec.model.BaseSpecRelation<SourceType>
All Implemented Interfaces:
Model, Approvable, OrganizationalData, OrganizationElement, ConfiguredSpec, Effective, SpecRelation<SourceType>, java.io.Serializable
Direct Known Subclasses:
ProductSpecRelation

public abstract class BaseSpecRelation<SourceType extends Specified>
extends AbstractBaseModel
implements SpecRelation<SourceType>

Author:
Steve Werner
See Also:
Serialized Form

Constructor Summary
BaseSpecRelation()
           
 
Method Summary
 SourceType getSource()
           
 Specification getTarget()
           
 void setSource(SourceType source)
           
 void setTarget(Specification target)
           
 
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
 
Methods inherited from interface com.rapidtransform.core.model.Model
getId, getMetaTypeName, getPropertyHolder, getUuid, setMetaTypeName, setPropertyHolder
 

Constructor Detail

BaseSpecRelation

public BaseSpecRelation()
Method Detail

getTarget

public Specification getTarget()
Returns:
Returns the target.

setTarget

public void setTarget(Specification target)
Specified by:
setTarget in interface SpecRelation<SourceType extends Specified>
Parameters:
target - The target to set.

getSource

public SourceType getSource()
Returns:
Returns the source.

setSource

public void setSource(SourceType source)
Specified by:
setSource in interface SpecRelation<SourceType extends Specified>
Parameters:
source - The source to set.