public class Identifier extends Object
| Constructor and Description |
|---|
Identifier(String value)
Constructs a DOI identifier.
|
Identifier(String value,
IdentifierType type)
Simple constructor that requires all mandatory fields.
|
| Modifier and Type | Method and Description |
|---|---|
IdentifierType |
getType()
Returns the type of the identifier.
|
String |
getValue()
Returns a unique identifier.
|
void |
setType(IdentifierType type)
Changes the type of the identifier.
|
void |
setValue(String value)
Changes the unique identifier.
|
public Identifier(String value, IdentifierType type)
value - the identifier valuetype - the type of the identifierpublic Identifier(String value)
value - a DOI identifier string of the format "10.1234/foo"public String getValue()
public void setValue(String value)
value - a unique identifierpublic IdentifierType getType()
public void setType(IdentifierType type)
type - a type of the identifierCopyright © 2017–2018. All rights reserved.