Gridarta Editor
net.sf.gridarta.model.select.AttributeOtherValueMatchCriteria< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R > Class Template Reference

A MatchCriteria that matches attribute values of all but a set of attributes. More...

+ Inheritance diagram for net.sf.gridarta.model.select.AttributeOtherValueMatchCriteria< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
+ Collaboration diagram for net.sf.gridarta.model.select.AttributeOtherValueMatchCriteria< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:

Public Member Functions

 AttributeOtherValueMatchCriteria (@NotNull final String attributeValue, @NotNull final String... attributeNames)
 Creates a new instance. More...
 
boolean matches (@NotNull final G gameObject)
 
- Public Member Functions inherited from net.sf.gridarta.model.select.MatchCriteria< G, A, R >
boolean matches ( @NotNull G gameObject)
 Whether a GameObject matches this criteria. More...
 

Private Attributes

final Set< String > attributeNames
 The attribute names not to check. More...
 
final String attributeValue
 The attribute value to check. More...
 

Detailed Description

A MatchCriteria that matches attribute values of all but a set of attributes.

Author
Andreas Kirschbaum

Definition at line 36 of file AttributeOtherValueMatchCriteria.java.

Constructor & Destructor Documentation

◆ AttributeOtherValueMatchCriteria()

net.sf.gridarta.model.select.AttributeOtherValueMatchCriteria< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.AttributeOtherValueMatchCriteria ( @NotNull final String  attributeValue,
@NotNull final String...  attributeNames 
)

Creates a new instance.

Parameters
attributeValuethe attribute value to check
attributeNamesthe attribute names not to check

Definition at line 55 of file AttributeOtherValueMatchCriteria.java.

References net.sf.gridarta.model.select.AttributeOtherValueMatchCriteria< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.attributeValue.

Member Function Documentation

◆ matches()

boolean net.sf.gridarta.model.select.AttributeOtherValueMatchCriteria< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.matches ( @NotNull final G  gameObject)

Member Data Documentation

◆ attributeNames

final Set<String> net.sf.gridarta.model.select.AttributeOtherValueMatchCriteria< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.attributeNames
private

The attribute names not to check.

Definition at line 42 of file AttributeOtherValueMatchCriteria.java.

◆ attributeValue


The documentation for this class was generated from the following file: