OME
Interface ModelValueAttribute


public interface ModelValueAttribute

ModelValueAttributes represent value-type attributes on ModelObjects. An attribute maps a name to a target (separate distinct object) within the kb. Multiple attributes may point to the same such target. This can be contrasted with the notion of a value attribute wherein each attribute will have a separate target.


Method Summary
 void clearValue()
          Removes the target from the attribute.
 java.lang.String getLabel()
          Sets the value of this attribute.
 java.lang.String getName()
          Returns a name for the Attribute which can be used to find it later.
 java.lang.String getValue()
          Returns the value of this attribute.
 void setValue(java.lang.String value)
           
 

Method Detail

getName

public java.lang.String getName()
Returns a name for the Attribute which can be used to find it later.

getLabel

public java.lang.String getLabel()
Sets the value of this attribute.
Parameters:
target - which the target of this attribute is set to.

setValue

public void setValue(java.lang.String value)

getValue

public java.lang.String getValue()
Returns the value of this attribute.

clearValue

public void clearValue()
Removes the target from the attribute.