Class YangIRSchemaSource
java.lang.Object
org.opendaylight.yangtools.concepts.AbstractIdentifiable<T,T>
org.opendaylight.yangtools.concepts.AbstractSimpleIdentifiable<SourceIdentifier>
org.opendaylight.yangtools.yang.model.repo.api.YangIRSchemaSource
- All Implemented Interfaces:
Identifiable<SourceIdentifier>
,Immutable
,SchemaSourceRepresentation
,YangSchemaSourceRepresentation
@Beta
public final class YangIRSchemaSource
extends AbstractSimpleIdentifiable<SourceIdentifier>
implements YangSchemaSourceRepresentation
-
Constructor Summary
ConstructorsConstructorDescriptionYangIRSchemaSource
(@NonNull SourceIdentifier identifier, @NonNull IRStatement rootStatement, @Nullable String symbolicName) -
Method Summary
Modifier and TypeMethodDescription@NonNull IRStatement
Return the root statement of this source.Return the symbolic name, if available.getType()
Return the concrete representation type.Methods inherited from class org.opendaylight.yangtools.concepts.AbstractIdentifiable
addToStringAttributes, getIdentifier, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation
getIdentifier
-
Constructor Details
-
YangIRSchemaSource
public YangIRSchemaSource(@NonNull SourceIdentifier identifier, @NonNull IRStatement rootStatement, @Nullable String symbolicName)
-
-
Method Details
-
getSymbolicName
Description copied from interface:SchemaSourceRepresentation
Return the symbolic name, if available. This name has no semantic meaning beyond being useful for debugging by humans.- Specified by:
getSymbolicName
in interfaceSchemaSourceRepresentation
- Returns:
- Symbolic name, if available
-
getType
Description copied from interface:SchemaSourceRepresentation
Return the concrete representation type.- Specified by:
getType
in interfaceSchemaSourceRepresentation
- Specified by:
getType
in interfaceYangSchemaSourceRepresentation
- Returns:
- The type of representation.
-
getRootStatement
Return the root statement of this source.- Returns:
- Root statement.
-