public class CVCPrincipal extends Object implements Principal, Serializable
Constructor and Description |
---|
CVCPrincipal(net.sf.scuba.data.Country country,
String mnemonic,
String seqNumber)
Constructs a principal.
|
CVCPrincipal(String name)
Constructs a principal.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object otherObj)
Tests for equality with respect to another object.
|
net.sf.scuba.data.Country |
getCountry()
Gets the country.
|
String |
getMnemonic()
Gets the mnemonic.
|
String |
getName()
Consists of the concatenation of
country code (length 2), mnemonic (length < 9) and
sequence number (length 5).
|
String |
getSeqNumber()
Gets the sequence number.
|
int |
hashCode()
Gets a hash code of this object.
|
String |
toString()
Gets a textual representation of this principal.
|
public CVCPrincipal(String name)
name
- a name with format Country (2F) | Mnemonic (9V) | SeqNum (5F).public String getName()
public String toString()
public net.sf.scuba.data.Country getCountry()
public String getMnemonic()
public String getSeqNumber()
public boolean equals(Object otherObj)
Copyright © 2016. All rights reserved.