All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class scrobble.Language

java.lang.Object
   |
   +----scrobble.Language

public class Language
extends Object
implements Serializable
Language.java This class defines the language object. This object permits only to choose the language on the clients side.


Variable Index

 o description
Contains the description of this language in terms of Dictionnary and Distribution
 o identifier
Contains the identifier of the language choosen
 o name
Contains the name of the language the game is played in

Constructor Index

 o Language(int, String, String)
Creates a new language with the given identifier, name and description

Method Index

 o getDescription()
Returns a short description of the language is played in.
 o getIdentifier()
Returns the identifier of the language is played in.
 o getName()
Returns the name of the language is played in.
 o toString()
Returns a String representation of Object.

Variables

 o name
 String name
Contains the name of the language the game is played in

 o identifier
 int identifier
Contains the identifier of the language choosen

 o description
 String description
Contains the description of this language in terms of Dictionnary and Distribution

Constructors

 o Language
 public Language(int identifier,
                 String name,
                 String description)
Creates a new language with the given identifier, name and description

Parameters:
identifier - the identifier of the language created
name - the identifier of the language created
description - the identifier of the language created

Methods

 o getName
 public String getName()
Returns the name of the language is played in.

 o getIdentifier
 public int getIdentifier()
Returns the identifier of the language is played in.

 o getDescription
 public String getDescription()
Returns a short description of the language is played in.

 o toString
 public String toString()
Returns a String representation of Object.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index