Class AbstractQName
- java.lang.Object
-
- org.opendaylight.yangtools.yang.common.AbstractQName
-
- All Implemented Interfaces:
Serializable
,Identifier
,Immutable
,MutationBehaviour<Immutable>
,WritableObject
- Direct Known Subclasses:
QName
,QualifiedQName
,UnqualifiedQName
@Beta @NonNullByDefault public abstract class AbstractQName extends Object implements Identifier, WritableObject
Abstract superclass for sharing QName references, which can either be resolvedQName
s or unresolvedUnqualifiedQName
andQualifiedQName
s.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
equals(@Nullable Object obj)
String
getLocalName()
Returns YANG schema identifier which were defined for this node in the YANG module.abstract int
hashCode()
abstract AbstractQName
intern()
Return an interned reference to an equivalent object.abstract String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.concepts.WritableObject
writeTo
-
-
-
-
Method Detail
-
getLocalName
public final String getLocalName()
Returns YANG schema identifier which were defined for this node in the YANG module.- Returns:
- YANG schema identifier which were defined for this node in the YANG module
-
intern
public abstract AbstractQName intern()
Return an interned reference to an equivalent object.- Returns:
- Interned reference, or this object if it was interned.
-
hashCode
public abstract int hashCode()
- Specified by:
hashCode
in interfaceIdentifier
- Overrides:
hashCode
in classObject
-
equals
public abstract boolean equals(@Nullable Object obj)
- Specified by:
equals
in interfaceIdentifier
- Overrides:
equals
in classObject
-
toString
public abstract String toString()
- Specified by:
toString
in interfaceIdentifier
- Overrides:
toString
in classObject
-
-