public class EnforceabilityProblem
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EnforceabilityProblem.ProblemType
Describes the type of problem
|
Constructor and Description |
---|
EnforceabilityProblem(ProcessObject mainObject,
java.util.Collection<ProcessEdge> relatedObjects,
java.lang.String description) |
EnforceabilityProblem(ProcessObject mainObject,
java.util.Collection<ProcessEdge> relatedObjects,
java.lang.String description,
EnforceabilityProblem.ProblemType problemType) |
EnforceabilityProblem(java.lang.String description,
ProcessNode mainObject,
java.util.Collection<ProcessNode> relatedObjects) |
EnforceabilityProblem(java.lang.String description,
ProcessNode mainObject,
java.util.Collection<ProcessNode> relatedObjects,
EnforceabilityProblem.ProblemType problemType) |
EnforceabilityProblem(java.lang.String description,
ProcessObject mainObject) |
EnforceabilityProblem(java.lang.String description,
ProcessObject mainObject,
java.util.Collection<ProcessObject> relatedObjects) |
EnforceabilityProblem(java.lang.String description,
ProcessObject mainObject,
java.util.Collection<ProcessObject> relatedObjects,
EnforceabilityProblem.ProblemType problemType)
creates a new instance of EnforceabilityProblem with all possible parameters
|
EnforceabilityProblem(java.lang.String description,
ProcessObject mainObject,
EnforceabilityProblem.ProblemType problemType) |
EnforceabilityProblem(java.lang.String description,
ProcessObject mainObject,
ProcessObject relatedObject) |
EnforceabilityProblem(java.lang.String description,
ProcessObject mainObject,
ProcessObject relatedObject,
EnforceabilityProblem.ProblemType problemType) |
Modifier and Type | Method and Description |
---|---|
void |
addRelatedObject(ProcessObject object) |
java.lang.String |
getDescription() |
ProcessObject |
getMainObject() |
EnforceabilityProblem.ProblemType |
getProblemType() |
java.util.Collection<ProcessObject> |
getRelatedObjects() |
java.util.Collection<EnforceabilityProblem> |
inCollection()
get this Problem as a one-element Collection of Problems
|
boolean |
isError() |
boolean |
isWarning() |
void |
setDescription(java.lang.String description) |
void |
setMainObject(ProcessObject mainObject) |
void |
setProblemType(EnforceabilityProblem.ProblemType problemType) |
public EnforceabilityProblem(java.lang.String description, ProcessObject mainObject, EnforceabilityProblem.ProblemType problemType)
public EnforceabilityProblem(java.lang.String description, ProcessObject mainObject)
public EnforceabilityProblem(java.lang.String description, ProcessObject mainObject, java.util.Collection<ProcessObject> relatedObjects, EnforceabilityProblem.ProblemType problemType)
description
- the problem-descriptionmainObject
- the main-object related with the problem. This is the
ProcessObject that is selected to be most significant for this problem.relatedObjects
- a collection of ProcessObjects related with the
problem. This collection must not include the mainObject.
It may be empty, but not null.problemType
- the type of problem (Error or specific Warning)public EnforceabilityProblem(java.lang.String description, ProcessObject mainObject, java.util.Collection<ProcessObject> relatedObjects)
public EnforceabilityProblem(java.lang.String description, ProcessNode mainObject, java.util.Collection<ProcessNode> relatedObjects, EnforceabilityProblem.ProblemType problemType)
public EnforceabilityProblem(java.lang.String description, ProcessNode mainObject, java.util.Collection<ProcessNode> relatedObjects)
public EnforceabilityProblem(java.lang.String description, ProcessObject mainObject, ProcessObject relatedObject, EnforceabilityProblem.ProblemType problemType)
public EnforceabilityProblem(java.lang.String description, ProcessObject mainObject, ProcessObject relatedObject)
public EnforceabilityProblem(ProcessObject mainObject, java.util.Collection<ProcessEdge> relatedObjects, java.lang.String description, EnforceabilityProblem.ProblemType problemType)
public EnforceabilityProblem(ProcessObject mainObject, java.util.Collection<ProcessEdge> relatedObjects, java.lang.String description)
public java.util.Collection<EnforceabilityProblem> inCollection()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public ProcessObject getMainObject()
public void setMainObject(ProcessObject mainObject)
public java.util.Collection<ProcessObject> getRelatedObjects()
public void addRelatedObject(ProcessObject object)
public EnforceabilityProblem.ProblemType getProblemType()
public boolean isError()
public boolean isWarning()
public void setProblemType(EnforceabilityProblem.ProblemType problemType)