public interface HasLocation
Interface for PROV objects that have a location.
PROV-DM Definition for Location: A location can be an identifiable geographic place (ISO 19112), but it can also be a non-geographic place such as a directory, row, or column.
Relevant class
Modifier and Type | Method and Description |
---|---|
List<Location> |
getLocation()
Gets the value of the location property.
|
List<Location> getLocation()
This accessor method returns a reference to the live list,
not a snapshot. Therefore, any modification made to the
returned list will be present inside the object.
This is why there is not a set
method for the location property.
For example, to add a new item, do as follows:
getLocation().add(newItem);
Location
Copyright © 2016. All rights reserved.