org.apache.jetspeed.om.impl
Class LocalizedFieldImpl

java.lang.Object
  extended by org.apache.jetspeed.om.impl.LocalizedFieldImpl
All Implemented Interfaces:
org.apache.jetspeed.om.common.LocalizedField
Direct Known Subclasses:
PortletApplicationLocalizedFieldImpl, PortletDefinitionLocalizedFieldImpl

public class LocalizedFieldImpl
extends Object
implements org.apache.jetspeed.om.common.LocalizedField

LocalizedFieldImpl
Implementation that represents a string value and the locale of that string

Version:
$Id: LocalizedFieldImpl.java 516448 2007-03-09 16:25:47Z ate $
Author:
Jeremy Ford

Field Summary
protected  org.apache.jetspeed.util.JetspeedLongObjectID id
           
protected  Locale locale
           
protected  String name
           
protected  long parentId
           
protected  String value
           
 
Constructor Summary
LocalizedFieldImpl()
           
LocalizedFieldImpl(Locale locale, String value)
           
 
Method Summary
 boolean equals(Object o)
           
 org.apache.pluto.om.common.ObjectID getId()
           
 String getLanguage()
           
 Locale getLocale()
           
 String getName()
           
 String getValue()
           
 int hashCode()
           
 void setLanguage(String language)
           
 void setLocale(Locale locale)
           
 void setName(String name)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected String value

name

protected String name

locale

protected Locale locale

parentId

protected long parentId

id

protected org.apache.jetspeed.util.JetspeedLongObjectID id
Constructor Detail

LocalizedFieldImpl

public LocalizedFieldImpl()

LocalizedFieldImpl

public LocalizedFieldImpl(Locale locale,
                          String value)
Method Detail

getLocale

public Locale getLocale()
Specified by:
getLocale in interface org.apache.jetspeed.om.common.LocalizedField

setLocale

public void setLocale(Locale locale)
Specified by:
setLocale in interface org.apache.jetspeed.om.common.LocalizedField

getValue

public String getValue()
Specified by:
getValue in interface org.apache.jetspeed.om.common.LocalizedField

setValue

public void setValue(String value)
Specified by:
setValue in interface org.apache.jetspeed.om.common.LocalizedField

getId

public org.apache.pluto.om.common.ObjectID getId()
Specified by:
getId in interface org.apache.jetspeed.om.common.LocalizedField

setLanguage

public void setLanguage(String language)

getLanguage

public String getLanguage()

getName

public String getName()
Specified by:
getName in interface org.apache.jetspeed.om.common.LocalizedField

setName

public void setName(String name)
Specified by:
setName in interface org.apache.jetspeed.om.common.LocalizedField

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.