| |
|
| java.lang.Object org.andromda.core.metafacade.ModelValidationMessage
ModelValidationMessage | public class ModelValidationMessage implements Serializable(Code) | | Stores the validation messages that are collected during model validation.
author: Chad Brandon |
Constructor Summary | |
public | ModelValidationMessage(MetafacadeBase metafacade, String message) Constructs a new instance of MetafacadeValidationMessage taking a
metafacade instance and a message
indicating what has been violated. | public | 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. |
ModelValidationMessage | public ModelValidationMessage(MetafacadeBase metafacade, String message)(Code) | | Constructs a new instance of MetafacadeValidationMessage taking a
metafacade instance and a message
indicating what has been violated.
Parameters: metafacade - the metafacade being validated. Parameters: message - the message to to communitate about the validation. |
ModelValidationMessage | public ModelValidationMessage(MetafacadeBase metafacade, String name, String message)(Code) | | 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.
Parameters: metafacade - the metafacade being validated. Parameters: name - the name of the model element being validated. Parameters: message - the message to to communitate about the validation. |
getMessage | public String getMessage()(Code) | | Gets the actual message text.
Returns the message. |
getMetafacadeClass | public Class getMetafacadeClass()(Code) | | Gets the class of the metafacade to which this validation message applies.
the metafacade Class. |
getMetafacadeName | public String getMetafacadeName()(Code) | | Gets the name of the metafacade to which this validation message applies.
Returns the metafacade. |
getName | public String getName()(Code) | | Gets the name of the validation constraint.
the constraint name. |
|
|
|