|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockcentral.editor.nodes.problem.NodeProblem
public class NodeProblem
A class defining a problem associated with a MockCentralNode.
Instances are generated during the node-building process and store data
specifying details about the problem and a reference to the node itself.
| Constructor Summary | |
|---|---|
NodeProblem()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
NodeProblemCategory |
getCategory()
Returns the NodeProblemCategory. |
int |
getElementIndex()
Returns the index of the element in which the problem exists within its enclosing group. |
java.lang.String |
getElementName()
Returns the type name of the element in which the problem exists, ie "methodParam", "expectedResult", etc. |
long |
getId()
Returns the id. |
java.lang.String |
getMessage()
Returns the problem message. |
MockCentralNode |
getNode()
Returns the MockCentralNode. |
int |
hashCode()
|
void |
setCategory(NodeProblemCategory category)
Sets the NodeProblemCategory. |
void |
setElementIndex(int elementIndex)
Sets the index of the element in which the problem exists within its enclosing group. |
void |
setElementName(java.lang.String elementName)
Sets the type name of the element in which the problem exists, ie "methodParam", "expectedResult", etc. |
void |
setId(long id)
Sets the id. |
void |
setMessage(java.lang.String message)
Sets the problem message. |
void |
setNode(MockCentralNode node)
Sets the MockCentralNode. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeProblem()
| Method Detail |
|---|
public NodeProblemCategory getCategory()
NodeProblemCategory.
NodeProblemCategory.public void setCategory(NodeProblemCategory category)
NodeProblemCategory.
category - the NodeProblemCategory to set.public long getId()
public void setId(long id)
id - the id to set.public MockCentralNode getNode()
MockCentralNode.
MockCentralNode.public void setNode(MockCentralNode node)
MockCentralNode.
node - MockCentralNode the node to set.public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - the problem message to set.public java.lang.String getElementName()
public void setElementName(java.lang.String elementName)
elementName - the element name to set.public int getElementIndex()
public void setElementIndex(int elementIndex)
elementIndex - the element index to set.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||