public interface MetaDataBuilder<SELF extends MetaData,PARENT extends MetaData>
| Modifier and Type | Method and Description |
|---|---|
void |
addFlavor(FlavorMetaData<? super SELF> flavor)
Add a flavor to to the built meta data
|
void |
addKey(Object key)
Add a key to the built meta-data
|
void |
addKeys(KeySet keySet)
Add all keys from the KeySet to the built meta-data
|
SELF |
getMetaData()
Meta data object being created by this builder
|
void |
handleError(Throwable e)
Indicates that the specified exception occurred while building the meta
definition
|
boolean |
hasKey(Object key)
Does this meta-data recognize itself by this key?
|
void |
removeFlavor(Object key)
Remove all flavors that have the specified key
|
void addFlavor(FlavorMetaData<? super SELF> flavor)
void removeFlavor(Object key)
void addKey(Object key)
void addKeys(KeySet keySet)
SELF getMetaData()
void handleError(Throwable e)
boolean hasKey(Object key)
key - Copyright © 2015. All Rights Reserved.