public class Identifier extends Object
Constructor and Description |
---|
Identifier(String value,
IdentifierType type)
Create an Identifier.
|
Identifier(String value,
IdentifierType type,
String note)
Create an Identifier.
|
Modifier and Type | Method and Description |
---|---|
String |
getNote()
Return the note, which will be null if none was specified.
|
IdentifierType |
getType()
Return the identifier type.
|
String |
getValue()
Return the displayable string.
|
public Identifier(String value, IdentifierType type)
value
- The text displayed for this Identifier.type
- The type of identification.public Identifier(String value, IdentifierType type, String note)
value
- The text displayed for this Identifier.type
- The type of identification.note
- A note giving supplementary information.public IdentifierType getType()
public String getValue()
public String getNote()
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.