Class 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.
    • Constructor Summary

      Constructors 
      Constructor 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CharacterInformation

        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)
        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

      • getName

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

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

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

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

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

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

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

        public int getFaceNumber()
        Returns the character's face number.
        Returns:
        the face num ber
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(@Nullable
                              @Nullable java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object