com.rapidtransform.spec.model
Class SpecExpression

java.lang.Object
  extended by com.rapidtransform.core.model.AbstractBaseModel
      extended by com.rapidtransform.spec.model.SpecExpression
All Implemented Interfaces:
Model, Approvable, OrganizationalData, OrganizationElement, Effective, SpecOperand, java.io.Serializable

public class SpecExpression
extends AbstractBaseModel
implements Approvable, OrganizationElement, OrganizationalData, Effective, SpecOperand

Combination of specification objects combined with a boolean operators. TODO can specification objects be expressed with a rules engine like Drools?

Author:
S. Werner
See Also:
Serialized Form

Nested Class Summary
static class SpecExpression.Operator
           
 
Constructor Summary
SpecExpression()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getExpressionId()
           
 java.util.Set<SpecInclusion> getInclusion()
           
 java.util.Set<SpecOperand> getOperands()
           
 SpecExpression.Operator getOperator()
           
 void setDescription(java.lang.String description)
           
 void setExpressionId(java.lang.String expressionId)
           
 void setInclusion(java.util.Set<SpecInclusion> inclusion)
           
 void setOperands(java.util.Set<SpecOperand> operands)
           
 void setOperator(SpecExpression.Operator operator)
           
 
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

SpecExpression

public SpecExpression()
Method Detail

getExpressionId

public java.lang.String getExpressionId()
Returns:
Returns the expressionId.

setExpressionId

public void setExpressionId(java.lang.String expressionId)
Parameters:
expressionId - The expressionId to set.

getOperator

public SpecExpression.Operator getOperator()
Returns:
Returns the operator.

setOperator

public void setOperator(SpecExpression.Operator operator)
Parameters:
operator - The operator to set.

getDescription

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

setDescription

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

getInclusion

public java.util.Set<SpecInclusion> getInclusion()
Returns:
Returns the inclusion.

setInclusion

public void setInclusion(java.util.Set<SpecInclusion> inclusion)
Parameters:
inclusion - The inclusion to set.

getOperands

public java.util.Set<SpecOperand> getOperands()
Returns:
Returns the operands.

setOperands

public void setOperands(java.util.Set<SpecOperand> operands)
Parameters:
operands - The operands to set.