@Beta public final class ImplicitSubstatement extends Object implements StatementSourceReference
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
StatementSource |
getStatementSource()
Returns source type
|
int |
hashCode() |
static ImplicitSubstatement |
of(StatementSourceReference parentRef)
Create a new
ImplicitSubstatement. |
String |
toString()
Returns human readable representation of statement source.
|
public static ImplicitSubstatement of(StatementSourceReference parentRef)
ImplicitSubstatement.parentRef - Parent source referenceNullPointerException - if parentRef is nullpublic StatementSource getStatementSource()
StatementSourceReferencegetStatementSource in interface StatementSourceReferenceStatementSource.DECLARATION if statement was explicitly
declared in YANG model source, StatementSource.CONTEXT if statement
was inferred.public String toString()
StatementSourceReferenceStatementSourceReference.toString(),
since it may be used in error reporting to provide context
information for model designer to debug errors in its mode.toString in interface StatementSourceReferencetoString in class ObjectCopyright © 2018 OpenDaylight. All rights reserved.