public class MaIdPrimaryVid extends Identifier<java.lang.Integer> implements MaIdShort
MaIdShort.MaIdType
Modifier and Type | Field and Description |
---|---|
protected static int |
lowerLimit |
protected static int |
upperLimit |
identifier
Modifier | Constructor and Description |
---|---|
protected |
MaIdPrimaryVid(int primaryVid) |
Modifier and Type | Method and Description |
---|---|
static MaIdShort |
asMaId(int id) |
static MaIdShort |
asMaId(java.lang.String maName) |
int |
getNameLength()
Vid length of 12 bits will be rounded up to 2 bytes (16 bits).
|
java.lang.String |
maName()
Get the MA name as a string.
|
MaIdShort.MaIdType |
nameType()
The type of the name.
|
equals, hashCode, id, toString
public java.lang.String maName()
MaIdShort
public int getNameLength()
getNameLength
in interface MaIdShort
public MaIdShort.MaIdType nameType()
MaIdShort
public static MaIdShort asMaId(java.lang.String maName)
public static MaIdShort asMaId(int id)