Package edu.harvard.hul.ois.jhove
Class Identifier
- java.lang.Object
-
- edu.harvard.hul.ois.jhove.Identifier
-
public class Identifier extends Object
This class encapsulates information about an identifier for a specification document.
-
-
Constructor Summary
Constructors Constructor Description Identifier(String value, IdentifierType type)Create an Identifier.Identifier(String value, IdentifierType type, String note)Create an Identifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNote()Return the note, which will be null if none was specified.IdentifierTypegetType()Return the identifier type.StringgetValue()Return the displayable string.
-
-
-
Constructor Detail
-
Identifier
public Identifier(String value, IdentifierType type)
Create an Identifier.- Parameters:
value- The text displayed for this Identifier.type- The type of identification.
-
Identifier
public Identifier(String value, IdentifierType type, String note)
Create an Identifier.- Parameters:
value- The text displayed for this Identifier.type- The type of identification.note- A note giving supplementary information.
-
-
Method Detail
-
getType
public IdentifierType getType()
Return the identifier type.
-
getValue
public String getValue()
Return the displayable string.
-
getNote
public String getNote()
Return the note, which will be null if none was specified.
-
-