|
Gridarta Editor
|
A AttributeGameObjectMatcher that compares attributes values using "string" type. More...
Inheritance diagram for net.sf.gridarta.model.match.StringAttributeGameObjectMatcher:
Collaboration diagram for net.sf.gridarta.model.match.StringAttributeGameObjectMatcher:Public Member Functions | |
| StringAttributeGameObjectMatcher (@NotNull final String name, @NotNull final Operation operation, @NotNull final String value, final boolean useDefArch) | |
| Creates a new instance. More... | |
Public Member Functions inherited from net.sf.gridarta.model.match.AttributeGameObjectMatcher | |
| boolean | isMatching (@NotNull final GameObject<?, ?, ?> gameObject) |
| Matches an GameObject. More... | |
Protected Member Functions | |
| int | compareValue (@NotNull final GameObject<?, ?, ?> gameObject) |
Protected Member Functions inherited from net.sf.gridarta.model.match.AttributeGameObjectMatcher | |
| AttributeGameObjectMatcher (@NotNull final Operation operation) | |
| Creates an. More... | |
| abstract int | compareValue (@NotNull GameObject<?, ?, ?> gameObject) |
| Compares the attribute value of a given game object with the expected value. More... | |
Private Attributes | |
| final String | name |
| The attribute name to match. More... | |
| final boolean | useDefArch |
| Whether to query the archetype as well. More... | |
| final String | value |
| The attribute value to match. More... | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
| The serial version UID. More... | |
A AttributeGameObjectMatcher that compares attributes values using "string" type.
Definition at line 30 of file StringAttributeGameObjectMatcher.java.
| net.sf.gridarta.model.match.StringAttributeGameObjectMatcher.StringAttributeGameObjectMatcher | ( | @NotNull final String | name, |
| @NotNull final Operation | operation, | ||
| @NotNull final String | value, | ||
| final boolean | useDefArch | ||
| ) |
Creates a new instance.
| name | the attribute name to match |
| operation | the Operator |
| value | the attribute value to compare with |
| useDefArch | whether to query the archetype as well |
Definition at line 64 of file StringAttributeGameObjectMatcher.java.
References net.sf.gridarta.model.match.StringAttributeGameObjectMatcher.name, net.sf.gridarta.model.match.StringAttributeGameObjectMatcher.useDefArch, and net.sf.gridarta.model.match.StringAttributeGameObjectMatcher.value.
|
protected |
Definition at line 72 of file StringAttributeGameObjectMatcher.java.
|
private |
The attribute name to match.
Definition at line 42 of file StringAttributeGameObjectMatcher.java.
Referenced by net.sf.gridarta.model.match.StringAttributeGameObjectMatcher.StringAttributeGameObjectMatcher().
|
staticprivate |
The serial version UID.
Definition at line 35 of file StringAttributeGameObjectMatcher.java.
|
private |
Whether to query the archetype as well.
Definition at line 55 of file StringAttributeGameObjectMatcher.java.
Referenced by net.sf.gridarta.model.match.StringAttributeGameObjectMatcher.StringAttributeGameObjectMatcher().
|
private |
The attribute value to match.
Definition at line 49 of file StringAttributeGameObjectMatcher.java.
Referenced by net.sf.gridarta.model.match.StringAttributeGameObjectMatcher.StringAttributeGameObjectMatcher().