Interface Location
- All Superinterfaces:
 Identifier
- All Known Implementing Classes:
 LocationImpl1
public interface Location extends Identifier
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
 
- 
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 loc)Sets the location as a URI.StringtoString()Convert the Location to a String.Methods inherited from interface info.oais.interfaces.infomodel.Identifier
getURI, setURI 
- 
Method Details
- 
getLocation
Location getLocation()Returns the location.- Returns:
 - Details of the location.
 
 - 
setLocation
Sets the location.- Parameters:
 loc- Details of the location.
 - 
getUri
URI getUri()Returns the URI if any.- Returns:
 - Details of the location as a URI if possible.
 
 - 
setUri
Sets the location as a URI.- Parameters:
 loc- Details of the location as a URI.
 - 
getString
String getString()Returns the location as a String.- Returns:
 - Details of the location as a String.
 
 - 
setString
Sets the location as a Stingr.- Parameters:
 loc- Details of the location as a String.
 - 
toString
String toString()Convert the Location to a String. 
 -