|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.metafacade.ModelValidationMessage
public class ModelValidationMessage
Stores the validation messages that are collected during model validation.
| Constructor Summary | |
|---|---|
ModelValidationMessage(MetafacadeBase metafacade,
String message)
Constructs a new instance of MetafacadeValidationMessage taking a metafacade instance and a message
indicating what has been violated. |
|
ModelValidationMessage(MetafacadeBase metafacade,
String name,
String message)
Constructs a new instance of MetafacadeValidationMessage taking a metafacade instance the name of the
validation constraint and the actual message text indicating
what has been violated. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
String |
getMessage()
Gets the actual message text. |
Class |
getMetafacadeClass()
Gets the class of the metafacade to which this validation message applies. |
String |
getMetafacadeName()
Gets the name of the metafacade to which this validation message applies. |
String |
getName()
Gets the name of the validation constraint. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ModelValidationMessage(MetafacadeBase metafacade,
String message)
metafacade instance and a message
indicating what has been violated.
metafacade - the metafacade being validated.message - the message to to communicate about the validation.
public ModelValidationMessage(MetafacadeBase metafacade,
String name,
String message)
metafacade instance the name of the
validation constraint and the actual message text indicating
what has been violated.
metafacade - the metafacade being validated.name - the name of the model element being validated.message - the message to communicate about the validation.| Method Detail |
|---|
public String getName()
public String getMessage()
public String getMetafacadeName()
public Class getMetafacadeClass()
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object object)
equals in class ObjectObject.equals(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||