com.mf.roundhouse.portal.domain
Class TranslatedString

java.lang.Object
  extended byKennewickObject
      extended bycom.mf.roundhouse.core.domain.RoundhouseObject
          extended bycom.mf.roundhouse.portal.domain.TranslatedString
All Implemented Interfaces:
java.io.Serializable

public class TranslatedString
extends RoundhouseObject

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_ELEMENT
           
static java.lang.String STRING_COLLECTION
           
 
Constructor Summary
TranslatedString()
           
TranslatedString(ObjectIdentifier anId)
           
 
Method Summary
 void addElement(TranslatedStringElement element)
           
 TranslatedStringElement getDefaultElement()
           
 ObjectIdentifier getDefaultElementId()
           
 java.lang.String getString(java.lang.String locale)
           
 java.util.Collection getStringCollection()
           
 java.util.Map getStringMap()
           
 void setDefaultElement(TranslatedStringElement element)
           
 void setDefaultElementId(ObjectIdentifier defaultElementId)
           
 void setStringCollection(java.util.Collection stringCollection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ELEMENT

public static final java.lang.String DEFAULT_ELEMENT
See Also:
Constant Field Values

STRING_COLLECTION

public static final java.lang.String STRING_COLLECTION
See Also:
Constant Field Values
Constructor Detail

TranslatedString

public TranslatedString(ObjectIdentifier anId)
                 throws java.lang.Exception
Parameters:
anId -
Throws:
java.lang.Exception

TranslatedString

public TranslatedString()
Method Detail

getStringMap

public java.util.Map getStringMap()
Returns:

addElement

public void addElement(TranslatedStringElement element)

getString

public java.lang.String getString(java.lang.String locale)

getDefaultElement

public TranslatedStringElement getDefaultElement()
Returns:

setDefaultElement

public void setDefaultElement(TranslatedStringElement element)
Parameters:
element -

getStringCollection

public java.util.Collection getStringCollection()
Returns:
Returns the stringCollection.

setStringCollection

public void setStringCollection(java.util.Collection stringCollection)
Parameters:
stringCollection - The stringCollection to set.

getDefaultElementId

public ObjectIdentifier getDefaultElementId()
Returns:
name

setDefaultElementId

public void setDefaultElementId(ObjectIdentifier defaultElementId)
Parameters:
defaultElementId - The defaultElementId to set.


Copyright © 2004 Media Fortress, LLC. Licensed for commercial use under the Apache 2.0 License.