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.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getComment()
Get the value for Comment.EntityDefinitionConstraintParameterMapping
getConstraintParameterMappingByName(String name)
Gets the parameter mapping for this constraint with the given name.RWIterable<? extends EntityDefinitionConstraintParameterMapping>
getConstraintParameterMappings()
Gets the parameter mappings for this constraint.String
getDescription()
Get the value for Description.String
getName()
Get the value for Name.void
setComment(String newComment)
Set the value for Comment.void
setDescription(String newDescription)
Set the value for Description.void
setName(String newName)
Set the value for Name.-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, 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
-
getComment
String getComment()
Get the value for Comment. (Optional comment)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getDescription
String getDescription()
Get the value for Description. (Optional description)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getName
String getName()
Get the value for Name. (The unique name of this object) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setComment
void setComment(String newComment)
Set the value for Comment. (Optional comment) This value is optional.- Parameters:
newComment
- the new value for Comment.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setDescription
void setDescription(String newDescription)
Set the value for Description. (Optional description) This value is optional.- Parameters:
newDescription
- the new value for Description.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setName
void 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 isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getConstraintParameterMappings
RWIterable<? extends EntityDefinitionConstraintParameterMapping> getConstraintParameterMappings()
Gets the parameter mappings for this constraint.- Returns:
- RWIterable of
EntityDefinitionConstraintParameterMapping
.
-
getConstraintParameterMappingByName
EntityDefinitionConstraintParameterMapping 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.
-
-