| Package | Description |
|---|---|
| org.faktorips.runtime | |
| org.faktorips.runtime.internal |
| Modifier and Type | Method and Description |
|---|---|
static MessageList |
MessageList.createCopy(MessageList list,
Object oldObject,
Object newObject)
Creates a copy from the message list and replaces all references to the old object with the
new object.
|
MessageList |
MessageList.getMessagesByCode(String code)
Returns a new message list containing all the message in this list that have the specified
message code.
|
MessageList |
MessageList.getMessagesByMarker(IMarker marker)
Returns a new message list containing all the message in this list that have the specified
IMarker. |
MessageList |
MessageList.getMessagesByMarker(IPredicate<IMarker> markerPredicate)
Returns a new message list containing all the message in this list with a
IMarker the
specified IPredicate matches. |
MessageList |
MessageList.getMessagesFor(Object object)
Returns a new list with the messages in this list that belong to the given object (any
property).
|
MessageList |
MessageList.getMessagesFor(Object object,
String property)
Returns a new list with the messages in this list that belong to the given object and
property.
|
MessageList |
MessageList.getMessagesFor(Object object,
String property,
int index)
Returns a new list with the messages in this list that belong to the given object and
property and the property is of the given index.
|
MessageList |
IModelObject.validate(IValidationContext context)
Validates the model object and returns a list of messages.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MessageList.add(MessageList messageList)
Adds the messages in the given list to this list.
|
void |
MessageList.add(MessageList messageList,
ObjectProperty invalidObjectProperty,
boolean override)
Copies the messages from the given list to this list and sets the message's invalid object
properties.
|
static MessageList |
MessageList.createCopy(MessageList list,
Object oldObject,
Object newObject)
Creates a copy from the message list and replaces all references to the old object with the
new object.
|
| Modifier and Type | Method and Description |
|---|---|
MessageList |
AbstractModelObject.validate(IValidationContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractModelObject.validate(MessageList list,
IValidationContext context)
Validates the policy component and adds any messages generated to the given list.
|
protected void |
AbstractModelObject.validateDependants(MessageList list,
IValidationContext context)
Validates the policy component's dependant components and adds any message generated to the given
list.
|
protected boolean |
AbstractModelObject.validateSelf(MessageList list,
IValidationContext context)
Validates this policy component's state without validating the dependant components.
|
Copyright © 2021. All rights reserved.