public class ModelValidationMessage extends Object implements Serializable
| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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() |
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.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)Copyright © 2003–2014 AndroMDA.org. All rights reserved.