Class YangInstanceIdentifier.NodeWithValue<T>
- java.lang.Object
-
- org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeWithValue<T>
-
- All Implemented Interfaces:
Serializable
,Comparable<YangInstanceIdentifier.PathArgument>
,Immutable
,MutationBehaviour<Immutable>
,YangInstanceIdentifier.PathArgument
- Enclosing class:
- YangInstanceIdentifier
public static final class YangInstanceIdentifier.NodeWithValue<T> extends Object
Simple path argument identifying aLeafSetEntryNode
leaf overall data tree.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeWithValue(QName node, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
@NonNull T
getValue()
protected int
hashCodeImpl()
String
toRelativeString(YangInstanceIdentifier.PathArgument previous)
Return the string representation of this object for use in context provided by a previous object.String
toString()
-
-
-
Method Detail
-
getValue
public @NonNull T getValue()
-
hashCodeImpl
protected int hashCodeImpl()
-
equals
public boolean equals(Object obj)
-
toString
public String toString()
-
toRelativeString
public String toRelativeString(YangInstanceIdentifier.PathArgument previous)
Description copied from interface:YangInstanceIdentifier.PathArgument
Return the string representation of this object for use in context provided by a previous object. This method can be implemented in terms ofYangInstanceIdentifier.toString()
, but implementations are encourage to reuse any context already emitted by the previous object.- Specified by:
toRelativeString
in interfaceYangInstanceIdentifier.PathArgument
- Parameters:
previous
- Previous path argument- Returns:
- String representation
-
-