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 Location
getLocation()
Returns the location.String
getString()
Returns the location as a String.URI
getUri()
Returns the URI if any.void
setLocation(Location loc)
Sets the location.void
setString(String loc)
Sets the location as a Stingr.void
setUri(URI loc)
Sets the location as a URI.String
toString()
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.
-