public class AbstractEntity.BasicEnricherSupport extends java.lang.Object implements EntityInternal.EnricherSupportInternal
Entity.enrichers()
is reverted to return EnricherSupportInternal
instead of
AbstractEntity.BasicEnricherSupport
.Constructor and Description |
---|
BasicEnricherSupport() |
Modifier and Type | Method and Description |
---|---|
void |
add(Enricher enricher)
Adds the given enricher to this entity.
|
<T extends Enricher> |
add(EnricherSpec<T> spec)
Adds the given enricher to this entity.
|
java.util.List<Enricher> |
asList() |
boolean |
isEmpty() |
java.util.Iterator<Enricher> |
iterator() |
boolean |
remove(Enricher enricher)
Removes the given enricher from this entity.
|
boolean |
removeAll()
Removes all enricher from this entity.
|
int |
size() |
public java.util.Iterator<Enricher> iterator()
iterator
in interface java.lang.Iterable<Enricher>
iterator
in interface Entity.AdjunctSupport<Enricher>
public int size()
size
in interface Entity.AdjunctSupport<Enricher>
public boolean isEmpty()
isEmpty
in interface Entity.AdjunctSupport<Enricher>
public java.util.List<Enricher> asList()
asList
in interface Entity.AdjunctSupport<Enricher>
public <T extends Enricher> T add(EnricherSpec<T> spec)
Entity.EnricherSupport
add
in interface Entity.EnricherSupport
public void add(Enricher enricher)
Entity.EnricherSupport
add
in interface Entity.AdjunctSupport<Enricher>
add
in interface Entity.EnricherSupport
public boolean remove(Enricher enricher)
Entity.EnricherSupport
remove
in interface Entity.AdjunctSupport<Enricher>
remove
in interface Entity.EnricherSupport
public boolean removeAll()
EntityInternal.EnricherSupportInternal
removeAll
in interface EntityInternal.EnricherSupportInternal