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 SummaryFields 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 SummaryConstructors Constructor Description LocationImpl1()
- 
Method SummaryModifier 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.IdentifierImpl1getURI, setURIMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface info.oais.interfaces.infomodel.IdentifiergetURI, setURI
- 
Field Details- 
serialVersionUIDprivate static final long serialVersionUIDFor serialization- See Also:
- Constant Field Values
 
- 
m_LocationLocation m_LocationThe internal value for the Location.
- 
m_URIURI m_URIThe internal value for the URI.
- 
m_StringString m_StringThe internal value for the String.
 
- 
- 
Constructor Details- 
LocationImpl1public LocationImpl1()
 
- 
- 
Method Details- 
getLocationReturns the location.- Specified by:
- getLocationin interface- Location
- Returns:
- Details of the location.
 
- 
setLocationSets the location.- Specified by:
- setLocationin interface- Location
- Parameters:
- loc- Details of the location.
 
- 
getUriReturns the URI if any.
- 
setUriSets the location as a URI.
- 
getStringReturns the location as a String.
- 
setStringSets the location as a Stingr.
- 
toStringConvert the Location to a String.
 
-