|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.odi.util.OSDictionary
com.odi.util.OSHashtable
net.agmodel.pUtility.PMultilingualString
This is a persistent version of net.agmodel.utility.MultiLingualString.
| Field Summary |
| Fields inherited from class com.odi.util.OSDictionary |
objectState |
| Fields inherited from interface com.odi.IPersistentHooks |
className |
| Fields inherited from interface com.odi.IPersistent |
barriersDown, barriersDownAndLazy, cachedBit, className, objectStateInitialValue, readBarrierSet, readBarrierSetAndCached, writeBarrierSet, writeBarrierSetAndLazy |
| Constructor Summary | |
PMultilingualString(MultilingualString input)
Constructs a persistent version from a transient input |
|
PMultilingualString(String anID)
|
|
| Method Summary | |
int |
compareTo(Object a)
|
boolean |
equals(Object obj)
Multilingual strings are assumed equal if the DEFAULT_LANGUAGE strings match. |
String |
get()
|
String |
get(String language)
|
MultilingualString |
getTransientVersion()
|
int |
hashcode()
This is necessary (as far as I see it) because the hashcode of two equal objects must be equal |
void |
put(String language,
String text)
|
String |
toString()
|
| Methods inherited from class com.odi.util.OSHashtable |
clear, clearContents, clearDestroyed, clone, contains, containsKey, containsKey, containsValue, destroy, elements, entries, entrySet, flushContents, get, get, getKey, getKey, getLazyAllocationDefault, initializeContents, isEmpty, isLazy, keys, keySet, postInitializeContents, postInitializeContentsFromCache, preClearContents, preDestroyPersistent, preFlushContents, preFlushContentsToCache, put, putAll, rehash, remove, removeValue, resize, setLazyAllocationDefault, setLoadFactor, size, values |
| Methods inherited from class com.odi.util.OSDictionary |
hashCode, ODIgetRef, ODIgetState, ODIsetRef, ODIsetState |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PMultilingualString(String anID)
public PMultilingualString(MultilingualString input)
| Method Detail |
public void put(String language,
String text)
public String get()
public String get(String language)
public String toString()
public boolean equals(Object obj)
public int compareTo(Object a)
compareTo in interface Comparablepublic int hashcode()
public MultilingualString getTransientVersion()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||