com.rubecula.darwin.core
Interface Attribute

All Known Subinterfaces:
Allele, EcoFactor, Trait
All Known Implementing Classes:
Allele_Abstract, Allele_Default, Allele_Key_Resetter, Allele_PepperedMoth, Allele_TS, Attribute_Abstract, EcoFactor_Abstract, EcoFactor_Default, EcoFactor_TS, Trait_Abstract, Trait_Default, Trait_TS, Trait_WingColor

public interface Attribute

Defines the methods supported by Attribute objects.

Author:
Robin Hillyard

Method Summary
 Object getAttribute()
           
 Object getValue()
          Method to return the value for this attribute.
 void setValue(Object value)
          Mutating method to set the value of this attribute.
 

Method Detail

getAttribute

Object getAttribute()
Returns:
the value of (private field) _Identifier

getValue

Object getValue()
Method to return the value for this attribute.

Returns:
value of (private field) _Value as an Object.

setValue

void setValue(Object value)
Mutating method to set the value of this attribute.

Parameters:
value - the new value for the attribute.