org.silverpeas.language.web
Class LanguageEntity

java.lang.Object
  extended by org.silverpeas.language.web.LanguageEntity
All Implemented Interfaces:
Exposable, Serializable

public class LanguageEntity
extends Object
implements Exposable

See Also:
Serialized Form

Constructor Summary
protected LanguageEntity()
          Default constructor
  LanguageEntity(String lang, String name)
           
 
Method Summary
 String getLanguage()
           
 String getName()
           
 URI getURI()
          Gets the URI at which this resource is published and can be accessed.
protected  void setURI(URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LanguageEntity

protected LanguageEntity()
Default constructor


LanguageEntity

public LanguageEntity(String lang,
                      String name)
Method Detail

getURI

public URI getURI()
Description copied from interface: Exposable
Gets the URI at which this resource is published and can be accessed.

Specified by:
getURI in interface Exposable
Returns:
the web resource URI.

setURI

protected void setURI(URI uri)

getLanguage

public String getLanguage()
Returns:
the lang

getName

public String getName()
Returns:
the name


Copyright © 2016 Silverpeas. All Rights Reserved.