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) |
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) |
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.
|
protected AbstractDeclaredStatement(StmtContext<A,?,?> context)
protected final <S extends DeclaredStatement<?>> S firstDeclared(Class<S> type)
public String rawArgument()
DeclaredStatementrawArgument in interface DeclaredStatement<A>public A argument()
ModelStatementargument in interface ModelStatement<A>@Nonnull public StatementDefinition statementDefinition()
ModelStatementstatementDefinition in interface ModelStatement<A>@Nonnull public Collection<? extends DeclaredStatement<?>> declaredSubstatements()
DeclaredStatementdeclaredSubstatements in interface DeclaredStatement<A>@Nonnull public StatementSource getStatementSource()
ModelStatementgetStatementSource in interface ModelStatement<A>protected final <S extends DeclaredStatement<?>> Collection<? extends S> allDeclared(Class<S> type)
Copyright © 2018 OpenDaylight. All rights reserved.