public class FlaggedPropertyMap extends AbstractMap<PropertyKey,Object> implements PropertyMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
FlaggedPropertyMap() |
Modifier and Type | Method and Description |
---|---|
void |
clearInitialState()
Reset to a non-delta tracking state.
|
boolean |
containsKey(Object key) |
protected PropertyMap |
createMap() |
Set<Map.Entry<PropertyKey,Object>> |
entrySet() |
Object |
get(Object key) |
protected PropertyMap |
getPropertyMap(boolean createIfNull) |
protected FacesBean.Type |
getType()
Retrieves FacesBean type used by this map's owner bean
|
boolean |
getUseStateHolder() |
boolean |
initialStateMarked() |
Set<PropertyKey> |
keySet() |
void |
markInitialState() |
Object |
put(PropertyKey key,
Object value) |
void |
putAll(Map<? extends PropertyKey,? extends Object> t) |
Object |
remove(Object key) |
void |
restoreState(javax.faces.context.FacesContext context,
FacesBean.Type type,
Object state) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setType(FacesBean.Type type)
Sets the the FacesBean type used by this map's owner bean
|
void |
setUseStateHolder(boolean useStateHolder) |
Collection<Object> |
values() |
clear, clone, containsValue, equals, hashCode, isEmpty, size, toString
public boolean containsKey(Object key)
containsKey
in interface Map<PropertyKey,Object>
containsKey
in class AbstractMap<PropertyKey,Object>
public Object get(Object key)
get
in interface Map<PropertyKey,Object>
get
in class AbstractMap<PropertyKey,Object>
public Object put(PropertyKey key, Object value)
put
in interface Map<PropertyKey,Object>
put
in class AbstractMap<PropertyKey,Object>
public Object remove(Object key)
remove
in interface Map<PropertyKey,Object>
remove
in class AbstractMap<PropertyKey,Object>
public void putAll(Map<? extends PropertyKey,? extends Object> t)
putAll
in interface Map<PropertyKey,Object>
putAll
in class AbstractMap<PropertyKey,Object>
public Set<Map.Entry<PropertyKey,Object>> entrySet()
entrySet
in interface Map<PropertyKey,Object>
entrySet
in class AbstractMap<PropertyKey,Object>
public Set<PropertyKey> keySet()
keySet
in interface Map<PropertyKey,Object>
keySet
in class AbstractMap<PropertyKey,Object>
public Collection<Object> values()
values
in interface Map<PropertyKey,Object>
values
in class AbstractMap<PropertyKey,Object>
public void markInitialState()
markInitialState
in interface PropertyMap
public void clearInitialState()
PropertyMap
clearInitialState
in interface PropertyMap
public boolean initialStateMarked()
initialStateMarked
in interface PropertyMap
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface PropertyMap
public void restoreState(javax.faces.context.FacesContext context, FacesBean.Type type, Object state)
restoreState
in interface PropertyMap
public boolean getUseStateHolder()
public void setUseStateHolder(boolean useStateHolder)
public void setType(FacesBean.Type type)
type
- FacesBean typeprotected FacesBean.Type getType()
protected PropertyMap getPropertyMap(boolean createIfNull)
protected PropertyMap createMap()
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.