public final class ChassisId extends Identifier<java.lang.Long>
identifier
Constructor and Description |
---|
ChassisId()
Default constructor.
|
ChassisId(long value)
Constructor from a long value.
|
ChassisId(java.lang.String value)
Constructor from a string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that)
Compares two device key identifiers for equality.
|
int |
hashCode()
Returns the hashcode of the identifier.
|
java.lang.String |
toString()
Convert the Chassis Id value to a ':' separated hexadecimal string.
|
long |
value()
Get the value of the chassis id.
|
id
public ChassisId()
public ChassisId(long value)
value
- the value to use.public ChassisId(java.lang.String value)
value
- the value to use.public long value()
public java.lang.String toString()
toString
in class Identifier<java.lang.Long>
public int hashCode()
Identifier
hashCode
in class Identifier<java.lang.Long>
public boolean equals(java.lang.Object that)
Identifier
equals
in class Identifier<java.lang.Long>
that
- to compare against