public class FeatureOfInterest extends Resource implements Comparable<FeatureOfInterest>
Constructor and Description |
---|
FeatureOfInterest() |
Modifier and Type | Method and Description |
---|---|
void |
assign(MeasuredValue measuredValue)
assign this resource to a measured value column or row
|
void |
assignPosition(Position position) |
int |
compareTo(FeatureOfInterest o) |
FeatureOfInterest |
forThis(Cell measuredValuePosition)
returns the corresponding resource for a measured value cell
|
List<Resource> |
getList()
get all resources of this type in the model store
|
String |
getName() |
DefaultComboBoxModel<String> |
getNames()
get names of the resource stored in the properties file
|
Resource |
getNextResourceType()
needed for iterating within one step
|
Position |
getPosition() |
Position |
getPositionFor(String featureOfInterestName) |
String |
getTypeName() |
DefaultComboBoxModel<String> |
getURIs()
get URIs of the resource stored in the properties file
|
boolean |
isAssigned(MeasuredValue measuredValue)
indicates if the measured value is assigned to a resource of this type
|
boolean |
isAssignedTo(MeasuredValue measuredValue)
indicates if the measured value is assigned to this resource
|
void |
removePositionFor(String featureOfInterestName) |
void |
setPosition(Position position) |
void |
setPositionFor(String featureOfInterestName,
Position position) |
String |
toString() |
void |
unassign(MeasuredValue mv)
unassign this resource from a measured value column or row
|
void |
unassignPosition() |
String |
XML_PREFIX()
XML prefix for resources.
|
equals, getConcatString, getMissingComponentPanel, getNameString, getRelatedCols, getTableElement, getURI, getUriPrefix, getURIString, getXMLId, hashCode, isGenerated, isUseNameAfterPrefixAsURI, setConcatString, setGenerated, setName, setRelatedCols, setTableElement, setURI, setUriPrefix, setUseNameAfterPrefixAsURI
public void assign(MeasuredValue measuredValue)
Resource
public boolean isAssigned(MeasuredValue measuredValue)
Resource
isAssigned
in class Resource
public boolean isAssignedTo(MeasuredValue measuredValue)
Resource
isAssignedTo
in class Resource
public void unassign(MeasuredValue mv)
Resource
public FeatureOfInterest forThis(Cell measuredValuePosition)
Resource
public DefaultComboBoxModel<String> getNames()
Resource
public DefaultComboBoxModel<String> getURIs()
Resource
public List<Resource> getList()
Resource
public Resource getNextResourceType()
Resource
getNextResourceType
in class Resource
public void setPosition(Position position)
public Position getPosition()
public void assignPosition(Position position)
public void unassignPosition()
public void removePositionFor(String featureOfInterestName)
public String getTypeName()
getTypeName
in class Resource
public String XML_PREFIX()
Resource
XML_PREFIX
in class Resource
public int compareTo(FeatureOfInterest o)
compareTo
in interface Comparable<FeatureOfInterest>
Copyright © 2011–2019 52°North. All rights reserved.