public interface OperationSelectionRecord extends BusinessRuleValidateable, BusinessRuleChangeDetector, java.io.Serializable
Operation
. This is done using one of the
newOperationSelectionRecord
methods on the
OperationSelectionRecordList
interface.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Modifier and Type | Method and Description |
---|---|
Operation |
getAssociatedOperation()
Get the operation with which this operation selection record is associated.
|
BusinessRule |
getBusinessRuleTarget()
Get the business rule target for this selection record.
|
java.util.Date |
getEndDate()
Get the end date for this operation selection record.
|
java.util.Date |
getStartDate()
Get the start date for this operation selection record.
|
void |
setBusinessRuleTarget(BusinessRule newBusinessRuleTarget)
Set the business rule target for this selection record.
|
void |
setEndDate(java.util.Date newEndDate)
Set the end date for this operation selection record.
|
void |
setStartDate(java.util.Date newStartDate)
Set the start date for this operation selection record.
|
validate
hasChanges
static final java.lang.String COPYRIGHT
java.util.Date getStartDate()
void setStartDate(java.util.Date newStartDate)
newStartDate
- The new start date.ChangesNotAllowedException
- if changes to this object are temporarily
disallowed while other changes are being published.java.util.Date getEndDate()
void setEndDate(java.util.Date newEndDate)
newEndDate
- The new end date.ChangesNotAllowedException
- if changes to this object are temporarily
disallowed while other changes are being published.BusinessRule getBusinessRuleTarget()
void setBusinessRuleTarget(BusinessRule newBusinessRuleTarget) throws ValidationException
newBusinessRuleTarget
- The new business rule target for this selection record. Must
not be null.java.lang.IllegalArgumentException
- if the new business rule target is null.ValidationException
- if the new business rule target is not in the available targets
list for the operation associated with this selection record.ChangesNotAllowedException
- if changes to this object are temporarily
disallowed while other changes are being published.Operation getAssociatedOperation()