Class GnmiYangModelKey
java.lang.Object
org.opendaylight.yang.gen.v1.urn.lighty.gnmi.yang.storage.rev210331.gnmi.yang.models.GnmiYangModelKey
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.concepts.Identifier,org.opendaylight.yangtools.concepts.Immutable,org.opendaylight.yangtools.yang.binding.Key<GnmiYangModel>
@Generated("mdsal-binding-generator")
public class GnmiYangModelKey
extends Object
implements org.opendaylight.yangtools.yang.binding.Key<GnmiYangModel>
This class represents the key of
GnmiYangModel class.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGnmiYangModelKey(@NonNull String _name, @NonNull ModuleVersionType _version) Constructs an instance.GnmiYangModelKey(GnmiYangModelKey source) Creates a copy from Source Object. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean@NonNull StringgetName()Return name, guaranteed to be non-null.@NonNull ModuleVersionTypeReturn version, guaranteed to be non-null.inthashCode()toString()
-
Constructor Details
-
GnmiYangModelKey
Constructs an instance.- Parameters:
_name- the entity name_version- the entity version- Throws:
NullPointerException- if any of the arguments are null
-
GnmiYangModelKey
Creates a copy from Source Object.- Parameters:
source- Source object
-
-
Method Details
-
getName
Return name, guaranteed to be non-null.- Returns:
Stringname, guaranteed to be non-null.
-
getVersion
Return version, guaranteed to be non-null.- Returns:
ModuleVersionTypeversion, guaranteed to be non-null.
-
hashCode
public int hashCode() -
equals
-
toString
-