Package com.redwood.scheduler.api.model
Interface EntityDefinitionConstraint
- 
- All Superinterfaces:
- Association,- SchedulerEntity,- SchedulerEntityComp
 - All Known Subinterfaces:
- JobDefinitionConstraint,- TableDefinitionConstraint
 
 public interface EntityDefinitionConstraint extends Association The (abstract) superclass for constraints on certain definitions.
- 
- 
Field Summary- 
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntityACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetComment()Get the value for Comment.EntityDefinitionConstraintParameterMappinggetConstraintParameterMappingByName(String name)Gets the parameter mapping for this constraint with the given name.RWIterable<? extends EntityDefinitionConstraintParameterMapping>getConstraintParameterMappings()Gets the parameter mappings for this constraint.StringgetDescription()Get the value for Description.StringgetName()Get the value for Name.voidsetComment(String newComment)Set the value for Comment.voidsetDescription(String newDescription)Set the value for Description.voidsetName(String newName)Set the value for Name.- 
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntitycanPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
 
- 
 
- 
- 
- 
Method Detail- 
getCommentString getComment() Get the value for Comment. (Optional comment)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getDescriptionString getDescription() Get the value for Description. (Optional description)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getNameString getName() Get the value for Name. (The unique name of this object) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setCommentvoid setComment(String newComment) Set the value for Comment. (Optional comment) This value is optional.- Parameters:
- newComment- the new value for Comment.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setDescriptionvoid setDescription(String newDescription) Set the value for Description. (Optional description) This value is optional.- Parameters:
- newDescription- the new value for Description.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setNamevoid setName(String newName) Set the value for Name. (The unique name of this object) This value is mandatory.- Parameters:
- newName- the new value for Name. If this is- null, then the object cannot be persisted.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getConstraintParameterMappingsRWIterable<? extends EntityDefinitionConstraintParameterMapping> getConstraintParameterMappings() Gets the parameter mappings for this constraint.- Returns:
- RWIterable of EntityDefinitionConstraintParameterMapping.
 
 - 
getConstraintParameterMappingByNameEntityDefinitionConstraintParameterMapping getConstraintParameterMappingByName(String name) Gets the parameter mapping for this constraint with the given name.- Parameters:
- name- The name of the parameter mapping.
- Returns:
- The parameter mapping.
 
 
- 
 
-