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