public final class DirectMetaPropertyMap extends Object implements Map<String,MetaProperty<?>>
DirectBean.
This meta-property map implementation is designed primarily for code-generation.
It stores a reference to the meta-bean and the meta-properties.
The meta-properties are accessed using DirectMetaBean.metaPropertyGet(String).
This class is immutable and thread-safe.
| Constructor and Description |
|---|
DirectMetaPropertyMap(DirectMetaBean metaBean,
DirectMetaPropertyMap parent,
String... propertyNames)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object propertyName) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,MetaProperty<?>>> |
entrySet() |
MetaProperty<Object> |
get(Object propertyName) |
boolean |
isEmpty() |
Set<String> |
keySet() |
MetaProperty<?> |
put(String key,
MetaProperty<?> value) |
void |
putAll(Map<? extends String,? extends MetaProperty<?>> m) |
MetaProperty<?> |
remove(Object key) |
int |
size() |
Collection<MetaProperty<?>> |
values() |
public DirectMetaPropertyMap(DirectMetaBean metaBean, DirectMetaPropertyMap parent, String... propertyNames)
metaBean - the meta-bean, not nullparent - the superclass parent, may be nullpropertyNames - the property names, not nullpublic int size()
size in interface Map<String,MetaProperty<?>>public boolean isEmpty()
isEmpty in interface Map<String,MetaProperty<?>>public MetaProperty<Object> get(Object propertyName)
get in interface Map<String,MetaProperty<?>>public boolean containsKey(Object propertyName)
containsKey in interface Map<String,MetaProperty<?>>public boolean containsValue(Object value)
containsValue in interface Map<String,MetaProperty<?>>public MetaProperty<?> put(String key, MetaProperty<?> value)
put in interface Map<String,MetaProperty<?>>public MetaProperty<?> remove(Object key)
remove in interface Map<String,MetaProperty<?>>public void putAll(Map<? extends String,? extends MetaProperty<?>> m)
putAll in interface Map<String,MetaProperty<?>>public void clear()
clear in interface Map<String,MetaProperty<?>>public Collection<MetaProperty<?>> values()
values in interface Map<String,MetaProperty<?>>public Set<Map.Entry<String,MetaProperty<?>>> entrySet()
entrySet in interface Map<String,MetaProperty<?>>Copyright © 2007–2013 Joda.org. All rights reserved.