public class UnitOfMeasurement extends Resource
Constructor and Description |
---|
UnitOfMeasurement() |
Modifier and Type | Method and Description |
---|---|
void |
assign(MeasuredValue measuredValue)
assign this resource to a measured value column or row
|
UnitOfMeasurement |
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
|
DefaultComboBoxModel<String> |
getNames()
get names of the resource stored in the properties file
|
Resource |
getNextResourceType()
needed for iterating within one step
|
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
|
String |
toString() |
void |
unassign(MeasuredValue mv)
unassign this resource from a measured value column or row
|
String |
XML_PREFIX()
XML prefix for resources.
|
equals, getConcatString, getMissingComponentPanel, getName, 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 UnitOfMeasurement 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 String getTypeName()
getTypeName
in class Resource
public String XML_PREFIX()
Resource
XML_PREFIX
in class Resource
Copyright © 2011–2019 52°North. All rights reserved.