A - Argument typeD - Declared Statement representationE - Effective Statement representation@Beta public abstract class ForwardingEffectiveStatement<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> extends com.google.common.collect.ForwardingObject implements EffectiveStatement<A,D>
EffectiveStatement contract. This class is useful for implementing
wrapped statements.| Constructor and Description |
|---|
ForwardingEffectiveStatement() |
| Modifier and Type | Method and Description |
|---|---|
A |
argument()
Returns statement argument.
|
protected abstract E |
delegate() |
Collection<? extends EffectiveStatement<?,?>> |
effectiveSubstatements()
Returns a collection of all effective substatements.
|
<K,V,N extends IdentifierNamespace<K,V>> |
get(Class<N> namespace,
K identifier)
Returns value associated with supplied identifier.
|
<K,V,N extends IdentifierNamespace<K,V>> |
getAll(Class<N> namespace)
Returns all local values from supplied namespace.
|
D |
getDeclared()
Returns statement, which was explicit declaration of this effective
statement.
|
StatementSource |
getStatementSource()
Returns statement source, which denotes if statement was
explicitly declared in original model or inferred during
semantic processing of model.
|
StatementDefinition |
statementDefinition()
Statement Definition of this statement.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatementsprotected abstract E delegate()
delegate in class com.google.common.collect.ForwardingObjectpublic D getDeclared()
EffectiveStatementgetDeclared in interface EffectiveStatement<A,D extends DeclaredStatement<A>>public <K,V,N extends IdentifierNamespace<K,V>> V get(Class<N> namespace, K identifier)
EffectiveStatementget in interface EffectiveStatement<A,D extends DeclaredStatement<A>>K - Identifier typeV - Value typeN - Namespace identifier typenamespace - Namespace typeidentifier - Identifier of element.public <K,V,N extends IdentifierNamespace<K,V>> Map<K,V> getAll(Class<N> namespace)
EffectiveStatementgetAll in interface EffectiveStatement<A,D extends DeclaredStatement<A>>K - Identifier typeV - Value typeN - Namespace identifier typenamespace - Namespace typepublic Collection<? extends EffectiveStatement<?,?>> effectiveSubstatements()
EffectiveStatementeffectiveSubstatements in interface EffectiveStatement<A,D extends DeclaredStatement<A>>public StatementDefinition statementDefinition()
ModelStatementstatementDefinition in interface ModelStatement<A>public A argument()
ModelStatementargument in interface ModelStatement<A>public StatementSource getStatementSource()
ModelStatementgetStatementSource in interface ModelStatement<A>Copyright © 2019 OpenDaylight. All rights reserved.