org.objectweb.speedo.genclass.map
Class PropertiesImpl
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
org.objectweb.speedo.genclass.map.PropertiesImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>, org.objectweb.jorm.api.PBinding, CacheEntry, FixableCacheEntry, ReplaceableCacheEntry, SpeedoGenClassCoherence, SpeedoGenClassPO, PersistentObjectItf
public abstract class PropertiesImpl
- extends java.util.Properties
- implements SpeedoGenClassPO
- Author:
- S.Chassande-Barrioz
- See Also:
- Serialized Form
Fields inherited from class java.util.Properties |
defaults |
Fields inherited from interface org.objectweb.jorm.api.PBinding |
ACTION_BIND, ACTION_EXIST, ACTION_EXPORT, ACTION_READ, ACTION_UNBIND, ACTION_UNEXPORT, ACTION_WRITE, LIFECYCLE_ACTIVEFORIO, LIFECYCLE_DELTOWRITE, LIFECYCLE_ERROR, LIFECYCLE_NEWTOWRITE, LIFECYCLE_NOTBOUND |
Methods inherited from class java.util.Properties |
loadFromXML, save, storeToXML, storeToXML |
Methods inherited from class java.util.Hashtable |
clone, equals, hashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.speedo.genclass.api.SpeedoGenClassPO |
fireSpeedoElementAdded, fireSpeedoElementRemoved, init, setElements, speedoAddGenClassListener, speedoGetGenClassId, speedoGetPBinding, speedoGetPType, speedoSetGcId, speedoSetLinkedField, speedoSetPBinding, speedoSetPNameHints, speedoSetPType |
Methods inherited from interface org.objectweb.speedo.mim.api.PersistentObjectItf |
speedoAdd, speedoCopyState, speedoGetEncodedPName, speedoGetHome, speedoGetPNameHints, speedoGetPOManager, speedoGetState, speedoIsActive, speedoIsActive, speedoIsPersistent, speedoSetEncodedPName |
Methods inherited from interface org.objectweb.jorm.api.PBinding |
bind, exist, export, export, getPClassMapping, getPName, getStatus, init, read, read, read, unbind, unexport, write |
PropertiesImpl
public PropertiesImpl()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
speedoGetReferenceState
public StateItf speedoGetReferenceState()
- Specified by:
speedoGetReferenceState
in interface PersistentObjectItf
- Returns:
- the reference accessor of the PersistentObjectItf instance. It can be *
null.
The Reference accessor is used for non persistent instance, as cache
value and for pessimistic policy.
speedoSetReferenceState
public void speedoSetReferenceState(StateItf refAcc)
- Description copied from interface:
PersistentObjectItf
- Assignes the reference accessor to the PersistentObjectItf
The Reference accessor is used for non persistent instance, as cache
value and for pessimistic policy.
- Specified by:
speedoSetReferenceState
in interface PersistentObjectItf
- Parameters:
refAcc
- the new reference accessor
createGenClass
public java.lang.Object createGenClass()
- Specified by:
createGenClass
in interface SpeedoGenClassPO
speedoCreateState
public StateItf speedoCreateState()
- Specified by:
speedoCreateState
in interface PersistentObjectItf
- Returns:
- a new StateItf instance.
setProperty
public java.lang.Object setProperty(java.lang.String s,
java.lang.String s1)
- Overrides:
setProperty
in class java.util.Properties
load
public void load(java.io.InputStream inputStream)
throws java.io.IOException
- Overrides:
load
in class java.util.Properties
- Throws:
java.io.IOException
store
public void store(java.io.OutputStream outputStream,
java.lang.String s)
throws java.io.IOException
- Overrides:
store
in class java.util.Properties
- Throws:
java.io.IOException
getProperty
public java.lang.String getProperty(java.lang.String s)
- Overrides:
getProperty
in class java.util.Properties
getProperty
public java.lang.String getProperty(java.lang.String s,
java.lang.String s1)
- Overrides:
getProperty
in class java.util.Properties
propertyNames
public java.util.Enumeration propertyNames()
- Overrides:
propertyNames
in class java.util.Properties
list
public void list(java.io.PrintStream printStream)
- Overrides:
list
in class java.util.Properties
list
public void list(java.io.PrintWriter printWriter)
- Overrides:
list
in class java.util.Properties
size
public int size()
- Specified by:
size
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
size
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
isEmpty
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
keys
public java.util.Enumeration keys()
- Overrides:
keys
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
elements
public java.util.Enumeration elements()
- Overrides:
elements
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
contains
public boolean contains(java.lang.Object o)
- Overrides:
contains
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
containsValue
public boolean containsValue(java.lang.Object o)
- Specified by:
containsValue
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
containsValue
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
containsKey
public boolean containsKey(java.lang.Object o)
- Specified by:
containsKey
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
containsKey
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
get
public java.lang.Object get(java.lang.Object o)
- Specified by:
get
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
get
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
rehash
protected void rehash()
- Overrides:
rehash
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
put
public java.lang.Object put(java.lang.Object o,
java.lang.Object o1)
- Specified by:
put
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
put
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
remove
public java.lang.Object remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
remove
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
putAll
public void putAll(java.util.Map map)
- Specified by:
putAll
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
putAll
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
clear
public void clear()
- Specified by:
clear
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Specified by:
clear
in interface SpeedoGenClassPO
- Overrides:
clear
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
keySet
public java.util.Set keySet()
- Specified by:
keySet
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
keySet
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
entrySet
public java.util.Set entrySet()
- Specified by:
entrySet
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
entrySet
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
values
public java.util.Collection values()
- Specified by:
values
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
values
in class java.util.Hashtable<java.lang.Object,java.lang.Object>