Class ShardKey
- java.lang.Object
-
- org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.clustering.prefix.shard.configuration.rev170110.prefix.shards.ShardKey
-
- All Implemented Interfaces:
Serializable
,Identifier
,Immutable
,MutationBehaviour<Immutable>
,Identifier<Shard>
public class ShardKey extends Object implements Identifier<Shard>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShardKey(@NonNull InstanceIdentifier<?> _prefix)
ShardKey(ShardKey source)
Creates a copy from Source Object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
@NonNull InstanceIdentifier<?>
getPrefix()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ShardKey
public ShardKey(@NonNull InstanceIdentifier<?> _prefix)
-
ShardKey
public ShardKey(ShardKey source)
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Detail
-
getPrefix
public @NonNull InstanceIdentifier<?> getPrefix()
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceIdentifier
- Overrides:
hashCode
in classObject
-
equals
public final boolean equals(Object obj)
- Specified by:
equals
in interfaceIdentifier
- Overrides:
equals
in classObject
-
toString
public String toString()
- Specified by:
toString
in interfaceIdentifier
- Overrides:
toString
in classObject
-
-