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, wait
findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatements
protected abstract E delegate()
delegate
in class com.google.common.collect.ForwardingObject
public D getDeclared()
EffectiveStatement
getDeclared
in interface EffectiveStatement<A,D extends DeclaredStatement<A>>
public <K,V,N extends IdentifierNamespace<K,V>> V get(Class<N> namespace, K identifier)
EffectiveStatement
get
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)
EffectiveStatement
getAll
in interface EffectiveStatement<A,D extends DeclaredStatement<A>>
K
- Identifier typeV
- Value typeN
- Namespace identifier typenamespace
- Namespace typepublic Collection<? extends EffectiveStatement<?,?>> effectiveSubstatements()
EffectiveStatement
effectiveSubstatements
in interface EffectiveStatement<A,D extends DeclaredStatement<A>>
public StatementDefinition statementDefinition()
ModelStatement
statementDefinition
in interface ModelStatement<A>
public A argument()
ModelStatement
argument
in interface ModelStatement<A>
public StatementSource getStatementSource()
ModelStatement
getStatementSource
in interface ModelStatement<A>
Copyright © 2019 OpenDaylight. All rights reserved.