Class IdentifierImpl1
java.lang.Object
info.oais.implementation.infomodel.IdentifierImpl1
- All Implemented Interfaces:
Identifier
,Serializable
- Direct Known Subclasses:
DataObjectIdImpl1
,DigitalObjectIdImpl1
,LocationImpl1
,PersistentIdentifierImpl1
,RepInfoIdImpl1
public class IdentifierImpl1 extends Object implements Identifier, Serializable
An implementation of an Identifier as a URI.
- Since:
- 11-Sep-2021 22:45:26
- Version:
- 1.0
- Author:
- David
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description (package private) URI
m_uri
The internal value for the URI..private static long
serialVersionUID
SerialVersionUID to use when object is serialized. -
Constructor Summary
Constructors Constructor Description IdentifierImpl1()
Constructor for Identifier -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialVersionUID to use when object is serialized.- See Also:
- Constant Field Values
-
m_uri
URI m_uriThe internal value for the URI..
-
-
Constructor Details
-
IdentifierImpl1
public IdentifierImpl1()Constructor for Identifier
-
-
Method Details
-
getURI
If available this returns the URI which identifies the object.- Specified by:
getURI
in interfaceIdentifier
- Returns:
- URI for the object - if available, otherwise return null.
-
setURI
If available this returns the URI which identifies the object.- Specified by:
setURI
in interfaceIdentifier
- Parameters:
uri
- the URI for the object.
-