Class ImplicitSubstatement
java.lang.Object
org.opendaylight.yangtools.yang.model.api.meta.StatementSourceReference
org.opendaylight.yangtools.yang.parser.spi.source.ImplicitSubstatement
- All Implemented Interfaces:
Immutable
An implicit sub-statement, which is implied to be always present in its parent, even if it does not appear in model
source.
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static ImplicitSubstatementof(StatementSourceReference parentRef) Create a newImplicitSubstatement.toString()
-
Method Details
-
of
Create a newImplicitSubstatement.- Parameters:
parentRef- Parent source reference- Returns:
- A new reference
- Throws:
NullPointerException- if parentRef is null
-
statementOrigin
- Specified by:
statementOriginin classStatementSourceReference
-
declarationReference
- Specified by:
declarationReferencein classStatementSourceReference
-
hashCode
public int hashCode() -
equals
-
toString
- Specified by:
toStringin classStatementSourceReference
-