A
- Argument type.public abstract class AbstractDeclaredStatement<A> extends Object implements DeclaredStatement<A>
Modifier | Constructor and Description |
---|---|
protected |
AbstractDeclaredStatement(StmtContext<A,?,?> context) |
Modifier and Type | Method and Description |
---|---|
protected <S extends DeclaredStatement<?>> |
allDeclared(Class<S> type)
Deprecated.
Use
DeclaredStatement.declaredSubstatements(Class) instead. |
A |
argument()
Returns statement argument.
|
Collection<? extends DeclaredStatement<?>> |
declaredSubstatements()
Returns collection of explicitly declared child statements, while preserving its original ordering from original
source.
|
protected <S extends DeclaredStatement<?>> |
firstDeclared(Class<S> type)
Deprecated.
|
StatementSource |
getStatementSource()
Returns statement source, which denotes if statement was
explicitly declared in original model or inferred during
semantic processing of model.
|
String |
rawArgument()
Returns statement argument as was present in original source.
|
StatementDefinition |
statementDefinition()
Statement Definition of this statement.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
declaredSubstatements, findFirstDeclaredSubstatement, findFirstDeclaredSubstatementArgument, streamDeclaredSubstatements
protected AbstractDeclaredStatement(StmtContext<A,?,?> context)
@Deprecated protected final <S extends DeclaredStatement<?>> S firstDeclared(Class<S> type)
DeclaredStatement.findFirstDeclaredSubstatement(Class)
instead.type
- DeclaredStatement
typepublic String rawArgument()
DeclaredStatement
rawArgument
in interface DeclaredStatement<A>
public A argument()
ModelStatement
argument
in interface ModelStatement<A>
public StatementDefinition statementDefinition()
ModelStatement
statementDefinition
in interface ModelStatement<A>
public Collection<? extends DeclaredStatement<?>> declaredSubstatements()
DeclaredStatement
declaredSubstatements
in interface DeclaredStatement<A>
public StatementSource getStatementSource()
ModelStatement
getStatementSource
in interface ModelStatement<A>
@Deprecated protected final <S extends DeclaredStatement<?>> Collection<? extends S> allDeclared(Class<S> type)
DeclaredStatement.declaredSubstatements(Class)
instead.type
- DeclaredStatement
typeNullPointerException
- if type
is nullCopyright © 2019 OpenDaylight. All rights reserved.