public class MdIdMacUint extends Identifier<org.apache.commons.lang3.tuple.Pair<MacAddress,java.lang.Integer>> implements MdId
MdId.MdNameTypeidentifierMD_NAME_MAX_LEN, MD_NAME_MIN_LEN| Modifier | Constructor and Description |
|---|---|
protected |
MdIdMacUint(org.apache.commons.lang3.tuple.Pair<MacAddress,java.lang.Integer> macAndUint) |
| Modifier and Type | Method and Description |
|---|---|
static MdId |
asMdId(MacAddress macAddress,
int uInt) |
static MdId |
asMdId(java.lang.String mdName) |
int |
getNameLength()
Get the length of the MD name.
|
java.lang.String |
mdName()
Get the MD name as a string.
|
MdId.MdNameType |
nameType()
The type of the name.
|
java.lang.String |
toString()
Returns a string representation of a DeviceKeyId.
|
equals, hashCode, idprotected MdIdMacUint(org.apache.commons.lang3.tuple.Pair<MacAddress,java.lang.Integer> macAndUint)
public java.lang.String mdName()
MdIdpublic java.lang.String toString()
IdentifiertoString in class Identifier<org.apache.commons.lang3.tuple.Pair<MacAddress,java.lang.Integer>>public int getNameLength()
MdIdgetNameLength in interface MdIdpublic static MdId asMdId(java.lang.String mdName)
public MdId.MdNameType nameType()
MdIdpublic static MdId asMdId(MacAddress macAddress, int uInt)