org.apache.jetspeed.om.impl
Class LocalizedFieldImpl

java.lang.Object
  extended byorg.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 219722 2005-07-19 17:29:36Z rwatler $
Author:
Jeremy Ford

Field Summary
protected  long 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 setId(String oid)
           
 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 long 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

setId

public void setId(String oid)
Specified by:
setId 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()

equals

public boolean equals(Object o)

hashCode

public int hashCode()
See Also:
Object.hashCode()


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