gov.nih.nci.mageom.domain.Measurement
Interface Measurement

All Superinterfaces:
Extendable
All Known Implementing Classes:
MeasurementImpl

public interface Measurement
extends Extendable

A Measurement is a quantity with a unit.

Version:
%I%, %G%

Method Summary
 java.lang.String getKindCV()
          Returns the value of this Measurement object's kindCV attribute.
 java.lang.String getOtherKind()
          Returns the value of this Measurement object's otherKind attribute.
 java.lang.String getType()
          Returns the value of this Measurement object's type attribute.
 Unit getUnit()
          Returns the value of this Measurement object's unit attribute.
 java.lang.String getValue()
          Returns the value of this Measurement object's value attribute.
 void setKindCV(java.lang.String p_kindCV)
          Sets the kindCV attribute.
 void setOtherKind(java.lang.String p_otherKind)
          Sets the otherKind attribute.
 void setType(java.lang.String p_type)
          Sets the type attribute.
 void setUnit(Unit p_unit)
          Sets the unit attribute.
 void setValue(java.lang.String p_value)
          Sets the value attribute.
 
Methods inherited from interface gov.nih.nci.mageom.domain.Extendable
getPropertySets, setPropertySets
 

Method Detail

setType

void setType(java.lang.String p_type)
Sets the type attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a Measurement object.

Parameters:
p_type - The new value for type.
See Also:
getType()

getType

java.lang.String getType()
Returns the value of this Measurement object's type attribute. Description of type: The type of measurement, for instance if the measurement is five feet, it can be either absolute (five feet tall) or change (five feet further along).

Returns:
enum {absolute,change} The value of type.

setValue

void setValue(java.lang.String p_value)
Sets the value attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a Measurement object.

Parameters:
p_value - The new value for value.
See Also:
getValue()

getValue

java.lang.String getValue()
Returns the value of this Measurement object's value attribute. Description of value: The value of the measurement. kindCV (and otherKind) determine with Unit the datatype of value.

Returns:
any The value of value.

setKindCV

void setKindCV(java.lang.String p_kindCV)
Sets the kindCV attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a Measurement object.

Parameters:
p_kindCV - The new value for kindCV.
See Also:
getKindCV()

getKindCV

java.lang.String getKindCV()
Returns the value of this Measurement object's kindCV attribute. Description of kindCV: One of the enumeration values to determine the controlled vocabulary of the value.

Returns:
enum {time,distance,temperature,quantity,mass,volume,concentration,other} The value of kindCV.

setOtherKind

void setOtherKind(java.lang.String p_otherKind)
Sets the otherKind attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a Measurement object.

Parameters:
p_otherKind - The new value for otherKind.
See Also:
getOtherKind()

getOtherKind

java.lang.String getOtherKind()
Returns the value of this Measurement object's otherKind attribute. Description of otherKind: Name of the controlled vocabulary if it isn't one of the Unit subclasses.

Returns:
String The value of otherKind.

setUnit

void setUnit(Unit p_unit)
Sets the unit attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a Measurement object.

Parameters:
p_unit - The new value for unit.
See Also:
getUnit()

getUnit

Unit getUnit()
Returns the value of this Measurement object's unit attribute.

Returns:
gov.nih.nci.mageom.bean.Measurement.Unit The value of unit.
See Also:
Unit