Class YangIRSchemaSource
java.lang.Object
org.opendaylight.yangtools.yang.model.spi.source.YangIRSchemaSource
- All Implemented Interfaces:
Immutable
,SourceRepresentation
,YangSourceRepresentation
-
Constructor Summary
ConstructorsConstructorDescriptionYangIRSchemaSource
(@NonNull SourceIdentifier sourceId, @NonNull IRStatement rootStatement, @Nullable String symbolicName) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Return the concrete representation type.static StatementDeclaration.InText
refOf
(SourceIdentifier source, IRStatement stmt) @NonNull IRStatement
Return the root statement of this source.sourceId()
TheSourceIdentifier
of this source.Return the symbolic name, if available.
-
Constructor Details
-
YangIRSchemaSource
public YangIRSchemaSource(@NonNull SourceIdentifier sourceId, @NonNull IRStatement rootStatement, @Nullable String symbolicName)
-
-
Method Details
-
sourceId
Description copied from interface:SourceRepresentation
TheSourceIdentifier
of this source.- Specified by:
sourceId
in interfaceSourceRepresentation
- Returns:
SourceIdentifier
of this source
-
symbolicName
Description copied from interface:SourceRepresentation
Return the symbolic name, if available. This name has no semantic meaning beyond being useful for debugging by humans.- Specified by:
symbolicName
in interfaceSourceRepresentation
- Returns:
- Symbolic name, if available
-
getType
Description copied from interface:SourceRepresentation
Return the concrete representation type.- Specified by:
getType
in interfaceSourceRepresentation
- Specified by:
getType
in interfaceYangSourceRepresentation
- Returns:
- The type of representation.
-
rootStatement
Return the root statement of this source.- Returns:
- Root statement.
-
refOf
-