Class CharacterInfo

Object
CharacterInfo
All Implemented Interfaces:
Serializable

@Entity public class CharacterInfo extends Object implements Serializable
Author:
maartenl
See Also:
  • Constructor Details

    • CharacterInfo

      public CharacterInfo()
    • CharacterInfo

      public CharacterInfo(String name)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getImageurl

      public String getImageurl()
    • setImageurl

      public void setImageurl(String imageurl) throws MudException
      Throws:
      MudException
    • getHomepageurl

      public String getHomepageurl()
      An url to the homepage of a player. Only http and https are supported.
      Returns:
      a properly formatted url.
    • setHomepageurl

      public void setHomepageurl(String homepageurl) throws MudException
      Throws:
      MudException
    • getDateofbirth

      public String getDateofbirth()
    • setDateofbirth

      public void setDateofbirth(String dateofbirth)
    • getCityofbirth

      public String getCityofbirth()
    • setCityofbirth

      public void setCityofbirth(String cityofbirth)
    • getStoryline

      public String getStoryline()
    • setStoryline

      public void setStoryline(String storyline) throws MudException
      Throws:
      MudException
    • hashCode

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

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object