20 package net.sf.gridarta.model.validation.errors;
25 import org.jetbrains.annotations.NotNull;
26 import org.jetbrains.annotations.Nullable;
75 public AttributeRangeError(@NotNull
final G gameObject, @NotNull
final String attributeName, @NotNull
final String curValue, @NotNull
final String minValue, @NotNull
final String maxValue) {
Class for validation errors related to an GameObject.
AttributeRangeError(@NotNull final G gameObject, @NotNull final String attributeName, @NotNull final String curValue, @NotNull final String minValue, @NotNull final String maxValue)
Create a new instance.
final String curValue
The current (incorrect) attribute value.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
final String attributeName
The suspicious attribute name.
GameObjects are the objects based on Archetypes found on maps.
Indicate an attribute value that is out of range.
static final long serialVersionUID
The serial version UID.
String getParameter(final int id)
final String maxValue
The maximal allowed attribute value.
final String minValue
The minimal allowed attribute value.
Interface for MapArchObjects.