com.exedio.cope.pattern
Class EnumMapField<K extends Enum<K>,V>
java.lang.Object
com.exedio.cope.Feature
com.exedio.cope.Pattern
com.exedio.cope.pattern.EnumMapField<K,V>
public final class EnumMapField<K extends Enum<K>,V>
- extends Pattern
| Methods inherited from class com.exedio.cope.Pattern |
addSource, getGeneratedTypes, getSourceFields, getSources, getSourceTypes, getType, initialize, newSourceType, newSourceType, newType, newType, registerSource |
newMap
public static final <K extends Enum<K>,V> EnumMapField<K,V> newMap(Class<K> keyClass,
FunctionField<V> value)
getKeyClass
public Class<K> getKeyClass()
getField
public FunctionField<V> getField(K key)
getAttribute
@Deprecated
public FunctionField<V> getAttribute(K key)
- Deprecated. renamed to
getField(Enum).
getWrappers
public List<Wrapper> getWrappers()
- Overrides:
getWrappers in class Feature
get
public V get(Item item,
K key)
set
public void set(Item item,
K key,
V value)
Copyright © 2004-2008 exedio Gesellschaft für Softwareentwicklung mbH. All rights reserved.
svn.12752 build.5319 20090312135114