com.dotmarketing.portlets.languagesmanager.model
Class Language

java.lang.Object
  extended by com.dotmarketing.portlets.languagesmanager.model.Language
All Implemented Interfaces:
java.io.Serializable

public class Language
extends java.lang.Object
implements java.io.Serializable

Author:
maria
See Also:
Serialized Form

Constructor Summary
Language()
           
Language(long id)
           
Language(long id, java.lang.String languageCode, java.lang.String countryCode, java.lang.String language, java.lang.String country)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getCountry()
           
 java.lang.String getCountryCode()
           
 long getId()
           
 java.lang.String getLanguage()
           
 java.lang.String getLanguageCode()
           
static long getSerialVersionUID()
           
 int hashCode()
           
 void setCountry(java.lang.String country)
           
 void setCountryCode(java.lang.String countryCode)
           
 void setId(long id)
           
 void setLanguage(java.lang.String language)
           
 void setLanguageCode(java.lang.String languageCode)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Language

public Language(long id,
                java.lang.String languageCode,
                java.lang.String countryCode,
                java.lang.String language,
                java.lang.String country)
Parameters:
languageCode -
countryCode -
language -
country -

Language

public Language()

Language

public Language(long id)
Method Detail

getSerialVersionUID

public static long getSerialVersionUID()
Returns:
Returns the serialVersionUID.

getCountry

public java.lang.String getCountry()
Returns:
Returns the country.

setCountry

public void setCountry(java.lang.String country)
Parameters:
country - The country to set.

getCountryCode

public java.lang.String getCountryCode()
Returns:
Returns the countryCode.

setCountryCode

public void setCountryCode(java.lang.String countryCode)
Parameters:
countryCode - The countryCode to set.

getLanguage

public java.lang.String getLanguage()
Returns:
Returns the language.

setLanguage

public void setLanguage(java.lang.String language)
Parameters:
language - The language to set.

getLanguageCode

public java.lang.String getLanguageCode()
Returns:
Returns the languageCode.

setLanguageCode

public void setLanguageCode(java.lang.String languageCode)
Parameters:
languageCode - The languageCode to set.

hashCode

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

getId

public long getId()
Returns:
Returns the id.

setId

public void setId(long id)
Parameters:
id - The id to set.

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object


Copyright © 2013 dotCMS Inc. All Rights Reserved.