Class SourceReference
java.lang.Object
org.opendaylight.yangtools.concepts.AbstractIdentifiable<T,T>
org.opendaylight.yangtools.concepts.AbstractSimpleIdentifiable<SourceIdentifier>
org.opendaylight.mdsal.yanglib.api.SourceReference
- All Implemented Interfaces:
Identifiable<SourceIdentifier>
,Immutable
@Beta
@NonNullByDefault
public final class SourceReference
extends AbstractSimpleIdentifiable<SourceIdentifier>
implements Immutable
A reference to a YANG source, potentially containing a location hint.
-
Method Summary
Modifier and TypeMethodDescriptionprotected MoreObjects.ToStringHelper
addToStringAttributes
(MoreObjects.ToStringHelper toStringHelper) static SourceReference
of
(SourceIdentifier identifier) static SourceReference
of
(SourceIdentifier identifier, URL location) static SourceReference
of
(SourceIdentifier identifier, Collection<URL> locations) Methods inherited from class org.opendaylight.yangtools.concepts.AbstractIdentifiable
getIdentifier, toString
-
Method Details
-
of
-
of
-
of
-
getLocations
-
addToStringAttributes
protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper toStringHelper) - Overrides:
addToStringAttributes
in classAbstractIdentifiable<SourceIdentifier,
SourceIdentifier>
-