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