com.rapidtransform.spec.model
Class BaseSpecRelation<SourceType extends Specified>
java.lang.Object
com.rapidtransform.core.model.AbstractBaseModel
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
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 |
BaseSpecRelation
public BaseSpecRelation()
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.