Class LocationImpl1
java.lang.Object
info.oais.implementation.infomodel.IdentifierImpl1
info.oais.implementation.infomodel.identifiers.LocationImpl1
- All Implemented Interfaces:
Identifier,Location,Serializable
public class LocationImpl1 extends IdentifierImpl1 implements Location, Serializable
An Identifier which points to the location of an object, which may be a
physical object..
- Since:
- 06-Sep-2021 15:59:46
- Version:
- 1.0
- Author:
- David
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description (package private) Locationm_LocationThe internal value for the Location.(package private) Stringm_StringThe internal value for the String.(package private) URIm_URIThe internal value for the URI.private static longserialVersionUIDFor serialization -
Constructor Summary
Constructors Constructor Description LocationImpl1() -
Method Summary
Modifier and Type Method Description LocationgetLocation()Returns the location.StringgetString()Returns the location as a String.URIgetUri()Returns the URI if any.voidsetLocation(Location loc)Sets the location.voidsetString(String loc)Sets the location as a Stingr.voidsetUri(URI uri)Sets the location as a URI.StringtoString()Convert the Location to a String.Methods inherited from class info.oais.implementation.infomodel.IdentifierImpl1
getURI, setURIMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface info.oais.interfaces.infomodel.Identifier
getURI, setURI
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization- See Also:
- Constant Field Values
-
m_Location
Location m_LocationThe internal value for the Location. -
m_URI
URI m_URIThe internal value for the URI. -
m_String
String m_StringThe internal value for the String.
-
-
Constructor Details
-
LocationImpl1
public LocationImpl1()
-
-
Method Details
-
getLocation
Returns the location.- Specified by:
getLocationin interfaceLocation- Returns:
- Details of the location.
-
setLocation
Sets the location.- Specified by:
setLocationin interfaceLocation- Parameters:
loc- Details of the location.
-
getUri
Returns the URI if any. -
setUri
Sets the location as a URI. -
getString
Returns the location as a String. -
setString
Sets the location as a Stingr. -
toString
Convert the Location to a String.
-