Gridarta 9211
API Documentation

net.sf.gridarta.model.validation.errors
Class ValidationError.GameObjectFormatter

java.lang.Object
  extended by net.sf.gridarta.model.validation.errors.ValidationError.GameObjectFormatter
All Implemented Interfaces:
Serializable, Comparator<G>, ValidationError.Formatter<G>
Enclosing class:
ValidationError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>

private class ValidationError.GameObjectFormatter
extends Object
implements ValidationError.Formatter<G>

A ValidationError.Formatter for GameObjects.

Author:
Andreas Kirschbaum

Field Summary
private static long serialVersionUID
          The serial version UID.
 
Constructor Summary
private ValidationError.GameObjectFormatter()
           
 
Method Summary
 int compare(G o1, G o2)
           
 String toString(G obj)
          Returns a string representation of an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The serial version UID.

See Also:
Constant Field Values
Constructor Detail

ValidationError.GameObjectFormatter

private ValidationError.GameObjectFormatter()
Method Detail

toString

@NotNull
public String toString(@NotNull
                               G obj)
Description copied from interface: ValidationError.Formatter
Returns a string representation of an object.

Specified by:
toString in interface ValidationError.Formatter<G extends GameObject<G,A,R>>
Parameters:
obj - the object
Returns:
the string representation

compare

public int compare(@NotNull
                   G o1,
                   @NotNull
                   G o2)
Specified by:
compare in interface Comparator<G extends GameObject<G,A,R>>

Gridarta 9211
API Documentation

SourceForge.net Logo Support This Project freshmeat.net Valid CSS! Feedback: webmaster