public class CharacterInformation extends java.lang.Object implements java.lang.Comparable<CharacterInformation>
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(@NotNull CharacterInformation o) |
boolean |
equals(@Nullable java.lang.Object obj) |
@NotNull java.lang.String |
getCharacterClass()
Returns the character's class.
|
@NotNull java.lang.String |
getFace()
Returns the character's face.
|
int |
getFaceNumber()
Returns the character's face number.
|
int |
getLevel()
Returns the character's level.
|
@NotNull java.lang.String |
getMap()
Returns the character's map.
|
@NotNull java.lang.String |
getName()
Returns the character's name.
|
@NotNull java.lang.String |
getParty()
Returns the character's party.
|
@NotNull java.lang.String |
getRace()
Returns the character's race.
|
int |
hashCode() |
@NotNull java.lang.String |
toString() |
public CharacterInformation(@NotNull @NotNull java.lang.String name, @NotNull @NotNull java.lang.String characterClass, @NotNull @NotNull java.lang.String race, @NotNull @NotNull java.lang.String face, @NotNull @NotNull java.lang.String party, @NotNull @NotNull java.lang.String map, int level, int faceNumber)
name
- the character's namecharacterClass
- the character's classrace
- the character's raceface
- the character's faceparty
- the character's partymap
- the character's maplevel
- the character's levelfaceNumber
- the character's face number@NotNull public @NotNull java.lang.String getName()
@NotNull public @NotNull java.lang.String getCharacterClass()
@NotNull public @NotNull java.lang.String getRace()
@NotNull public @NotNull java.lang.String getFace()
@NotNull public @NotNull java.lang.String getParty()
@NotNull public @NotNull java.lang.String getMap()
public int getLevel()
public int getFaceNumber()
public int compareTo(@NotNull @NotNull CharacterInformation o)
compareTo
in interface java.lang.Comparable<CharacterInformation>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(@Nullable @Nullable java.lang.Object obj)
equals
in class java.lang.Object
@NotNull public @NotNull java.lang.String toString()
toString
in class java.lang.Object