jasi.simple.defi
Class ComplexElementHandler

java.lang.Object
  extended by jasi.sim.basic.value.AbstractSimValueType
      extended by jasi.sim.basic.value.AbstractComparableObject<Element>
          extended by jasi.sim.basic.element.AbstractElementBean
              extended by jasi.simple.defi.ComplexElementHandler
All Implemented Interfaces:
Element, SimObject, ExtendedComparable<Element>, SimValue, java.io.Serializable, java.lang.Comparable<Element>
Direct Known Subclasses:
ComplexElement

public abstract class ComplexElementHandler
extends AbstractElementBean

The container of a complex element's attributes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface jasi.sim.basic.element.Element
COMPARATOR
 
Constructor Summary
protected ComplexElementHandler()
          Construct container of a complex element's attributes.
protected ComplexElementHandler(Id id)
          Construct container of a complex element's attributes.
 
Method Summary
 ComplexAttribute getValue()
          Get the value attribute.
 void setValue(ComplexAttribute value)
          Set the value attribute.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class jasi.sim.basic.element.AbstractElementBean
acceptDelete, compareTo, delete, elements, equals, get, getId, getKey, hashCode, isDeleted, registered, set, setId, setKey
 
Methods inherited from class jasi.sim.basic.value.AbstractComparableObject
isEQ, isGE, isGT, isLE, isLT, isNE
 
Methods inherited from class jasi.sim.basic.value.AbstractSimValueType
getContent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComplexElementHandler

protected ComplexElementHandler()
Construct container of a complex element's attributes.


ComplexElementHandler

protected ComplexElementHandler(Id id)
Construct container of a complex element's attributes.

Parameters:
id - The simulation element's ID.
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class AbstractElementBean
Returns:
The string.

setValue

public final void setValue(ComplexAttribute value)
Set the value attribute.

Parameters:
value - The new value of the attribute.

getValue

public final ComplexAttribute getValue()
Get the value attribute.

Returns:
Its value.