corelib.services.web.components.diagrams
Class Datum

java.lang.Object
  extended by corelib.services.web.components.WebComponent
      extended by corelib.services.web.components.diagrams.Datum

public class Datum
extends WebComponent

A Datum object is used for store one datum of the outer diagram model. You can use Repeater web component for generate data from Java collection.

Since:
0.4.0
Author:
Dominique Liard
See Also:
Datum

Field Summary
 
Fields inherited from class corelib.services.web.components.WebComponent
dataBindings, webPage, xmlNode
 
Constructor Summary
Datum()
           
 
Method Summary
 java.lang.String getKey()
          Returns the key for this datum.
 double getValue()
          Return the value for this datum.
 void setKey(java.lang.String key)
          Changes the key for this datum.
 void setValue(double value)
          Changes the value for this datum.
 
Methods inherited from class corelib.services.web.components.WebComponent
addBindingExpression, addChildComponent, component_init, component_load, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Datum

public Datum()
Method Detail

getKey

public java.lang.String getKey()
Returns the key for this datum.

Returns:
The key for this datum.

setKey

public void setKey(java.lang.String key)
Changes the key for this datum. A key can be any string.

Parameters:
key - The new value for the key.

getValue

public double getValue()
Return the value for this datum.

Returns:
The value for this datum.

setValue

public void setValue(double value)
Changes the value for this datum.

Parameters:
value - The new value for this datum.


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.