com.realtime.crossfire.jxclient.account
Class CharacterInformation

java.lang.Object
  extended by com.realtime.crossfire.jxclient.account.CharacterInformation
All Implemented Interfaces:
java.lang.Comparable<CharacterInformation>

public class CharacterInformation
extends java.lang.Object
implements java.lang.Comparable<CharacterInformation>

Information for one character for an account.


Field Summary
private  java.lang.String characterClass
          The character's class.
private  java.lang.String face
          The character's face.
private  int faceNumber
          The character's face number.
private  int level
          The character's level.
private  java.lang.String map
          The character's map.
private  java.lang.String name
          The character's name.
private  java.lang.String party
          The character's party.
private  java.lang.String race
          The character's race.
 
Constructor Summary
CharacterInformation(java.lang.String name, java.lang.String characterClass, java.lang.String race, java.lang.String face, java.lang.String party, java.lang.String map, int level, int faceNumber)
          Creates a new instance.
 
Method Summary
 int compareTo(CharacterInformation o)
          
 boolean equals(java.lang.Object obj)
          
 java.lang.String getCharacterClass()
          Returns the character's class.
 java.lang.String getFace()
          Returns the character's face.
 int getFaceNumber()
          Returns the character's face number.
 int getLevel()
          Returns the character's level.
 java.lang.String getMap()
          Returns the character's map.
 java.lang.String getName()
          Returns the character's name.
 java.lang.String getParty()
          Returns the character's party.
 java.lang.String getRace()
          Returns the character's race.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

characterClass

@NotNull
private final java.lang.String characterClass
The character's class.


face

@NotNull
private final java.lang.String face
The character's face.


faceNumber

private final int faceNumber
The character's face number.


level

private final int level
The character's level.


map

@NotNull
private final java.lang.String map
The character's map.


name

@NotNull
private final java.lang.String name
The character's name.


party

@NotNull
private final java.lang.String party
The character's party.


race

@NotNull
private final java.lang.String race
The character's race.

Constructor Detail

CharacterInformation

public CharacterInformation(@NotNull
                            java.lang.String name,
                            @NotNull
                            java.lang.String characterClass,
                            @NotNull
                            java.lang.String race,
                            @NotNull
                            java.lang.String face,
                            @NotNull
                            java.lang.String party,
                            @NotNull
                            java.lang.String map,
                            int level,
                            int faceNumber)
Creates a new instance.

Parameters:
name - the character's name
characterClass - the character's class
race - the character's race
face - the character's face
party - the character's party
map - the character's map
level - the character's level
faceNumber - the character's face number
Method Detail

compareTo

public int compareTo(@NotNull
                     CharacterInformation o)

Specified by:
compareTo in interface java.lang.Comparable<CharacterInformation>

equals

public boolean equals(@Nullable
                      java.lang.Object obj)

Overrides:
equals in class java.lang.Object

getCharacterClass

@NotNull
public java.lang.String getCharacterClass()
Returns the character's class.

Returns:
the class

getFace

@NotNull
public java.lang.String getFace()
Returns the character's face.

Returns:
the face

getFaceNumber

public int getFaceNumber()
Returns the character's face number.

Returns:
the face num ber

getLevel

public int getLevel()
Returns the character's level.

Returns:
the level

getMap

@NotNull
public java.lang.String getMap()
Returns the character's map.

Returns:
the map

getName

@NotNull
public java.lang.String getName()
Returns the character's name.

Returns:
the name

getParty

@NotNull
public java.lang.String getParty()
Returns the character's party.

Returns:
the party

getRace

@NotNull
public java.lang.String getRace()
Returns the character's race.

Returns:
the race

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object