com.exedio.cope.pattern
Class MapField<K,V>
java.lang.Object
com.exedio.cope.Feature
com.exedio.cope.Pattern
com.exedio.cope.pattern.MapField<K,V>
public final class MapField<K,V>
- extends Pattern
| Methods inherited from class com.exedio.cope.Pattern |
addSource, getGeneratedTypes, getSourceFields, getSources, getSourceTypes, getType, newSourceType, newSourceType, newType, newType, registerSource |
newMap
public static final <K,V> MapField<K,V> newMap(FunctionField<K> key,
FunctionField<V> value)
initialize
protected void initialize()
- Description copied from class:
Pattern
- Here you can do additional initialization not yet done in the constructor.
In this method you can call methods
Pattern.getType() and Feature.getName()
for the first time.
- Overrides:
initialize in class Pattern
getParent
public <P extends Item> ItemField<P> getParent(Class<P> parentClass)
getParent
public ItemField<?> getParent()
getKey
public FunctionField<K> getKey()
getUniqueConstraint
public UniqueConstraint getUniqueConstraint()
getValue
public FunctionField<V> getValue()
getRelationType
public Type<? extends Item> getRelationType()
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)
getAndCast
public V getAndCast(Item item,
Object key)
setAndCast
public void setAndCast(Item item,
Object key,
Object value)
join
public Join join(Query q,
K key)
Copyright © 2004-2008 exedio Gesellschaft für Softwareentwicklung mbH. All rights reserved.
svn.12752 build.5319 20090312135114