public class BbmriEricId extends Object
bbmri-eric:ID:<country-code>_<suffix>
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCountryCode()
Returns the two-letter upper-case country code of this identifier.
|
int |
hashCode() |
String |
toString() |
static Optional<BbmriEricId> |
valueOf(String s)
Tries to create a BBMRI-ERIC identifier from string.
|
public String getCountryCode()
public static Optional<BbmriEricId> valueOf(String s)
s - the string to parse.empty if s doesn't represent
a valid BBMRI-ERIC identifierCopyright © 2022. All rights reserved.