org.objectweb.speedo.genclass.map
Class MapImpl
java.lang.Object
org.objectweb.speedo.genclass.GenClass
org.objectweb.speedo.genclass.map.MapImpl
- All Implemented Interfaces:
- java.util.Map, SpeedoGenClassCoherence, SpeedoGenClassProxy, SpeedoProxy
- public class MapImpl
- extends GenClass
- implements java.util.Map
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Fields inherited from class org.objectweb.speedo.genclass.GenClass |
age, encodedPName, fix, gcid, jdoIsActive, linkedField, listeners, logger, mapperName, pbinding, pmf, pnameHints, projectName, ptype, tpm |
Constructor Summary |
MapImpl()
Instantiates a new map. |
Methods inherited from class org.objectweb.speedo.genclass.GenClass |
bind, copyAccessor, elementIsReference, exist, export, export, fgGetFieldsToLoad, fgGetFieldsToLoad, fgGetNestedFetchGroups, fgIsDefined, fgIsPostload, fireSpeedoElementAdded, fireSpeedoElementRemoved, fixCe, getCeAge, getCeFixCount, getCeIdentifier, getCeObject, getEncodedPName, getJormConfig, getLogger, getLoggerFactory, getPClassMapping, getPName, getSpeedoAccessor, getSpeedoAccessors, getStatus, init, init, jdoAttachCopy, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoDeletePersistent, jdoDetachCopy, jdoGetGenClassId, jdoGetJdoFileName, jdoGetObjectId, jdoGetPBinding, jdoGetPersistenceManager, jdoGetPNameHints, jdoGetProjectName, jdoGetProxyManagerFactory, jdoGetPType, jdoGetTransactionalObjectId, jdoGetTransactionalPersistenceManager, jdoGetVersioningStrategy, jdoIsActive, jdoIsActive, jdoIsDeleted, jdoIsDetachable, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoMakePersistent, jdoMakePersistent, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoProvideField, jdoProvideFields, jdoReadIntention, jdoRefresh, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager, jdoSetLinkedField, jdoSetPBinding, jdoSetPNameHints, jdoSetProxyManagerFactory, jdoSetPType, jdoSetTransactionalPersistenceManager, jdoWriteIntention, read, read, removeSpeedoAccessor, setCeAge, setElements, setEncodedPName, setLogger, setLoggerFactory, setPName, setStatus, speedoAdd, speedoAdd, speedoAddGenClassListener, speedoRemove, speedoSetGcId, unbind, unexport, unfixCe, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
MapImpl
public MapImpl()
- Instantiates a new map.
size
public int size()
- Specified by:
size
in interface java.util.Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Map
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interface java.util.Map
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interface java.util.Map
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interface java.util.Map
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
- Specified by:
put
in interface java.util.Map
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
remove
in interface java.util.Map
putAll
public void putAll(java.util.Map t)
- Specified by:
putAll
in interface java.util.Map
clear
public void clear()
- Specified by:
clear
in interface java.util.Map
keySet
public java.util.Set keySet()
- Specified by:
keySet
in interface java.util.Map
values
public java.util.Collection values()
- Specified by:
values
in interface java.util.Map
entrySet
public java.util.Set entrySet()
- Specified by:
entrySet
in interface java.util.Map
setGCValue
public void setGCValue(java.lang.Object o)
getReferenceAccessor
public SpeedoAccessor getReferenceAccessor()
- Specified by:
getReferenceAccessor
in interface SpeedoProxy
- Specified by:
getReferenceAccessor
in class GenClass
setReferenceAccessor
public void setReferenceAccessor(SpeedoAccessor refAcc)
- Description copied from interface:
SpeedoProxy
- Assignes the reference accessor to the SpeedoProxy
The Reference accessor is used for non persistent instance, as cache
value and for pessimistic policy.
- Specified by:
setReferenceAccessor
in interface SpeedoProxy
- Specified by:
setReferenceAccessor
in class GenClass
createAccessor
public SpeedoAccessor createAccessor()
- Specified by:
createAccessor
in interface SpeedoProxy
- Specified by:
createAccessor
in class GenClass
jdoMakePersistent
public void jdoMakePersistent(ProxyManager pm,
SpeedoAccessor sa)
- Specified by:
jdoMakePersistent
in interface SpeedoProxy
createGenClass
public java.lang.Object createGenClass()
- Specified by:
createGenClass
in interface SpeedoGenClassProxy