MetaDone
|
Classes | |
class | IrreductibleException |
Public Member Functions | |
List< C > | getComponent () |
Class< C > | getType () |
Object | getIndicator () |
boolean | isEmpty () |
Multiplicity | getMultiplicity () |
Engine | getEngine () |
boolean | isActive () |
boolean | isReductible () |
C | reduceComponent () throws IrreductibleException |
boolean | equals (Object obj) |
int | hashCode () |
A displayed component.
The implementation of this interface are immutable.
<C> | The type of the component |
boolean metadone.client.display.Component< C >.equals | ( | Object | obj | ) |
Components are equal if they have the same type, indicator, engine and component elements.
obj | The other object |
true
if they are equal List<C> metadone.client.display.Component< C >.getComponent | ( | ) |
Gets the component as a list.
Engine metadone.client.display.Component< C >.getEngine | ( | ) |
Gets the engine that built this component.
Object metadone.client.display.Component< C >.getIndicator | ( | ) |
Gets the indicator for this component.
The indicator may be set by the engine to add some value to the components that may be interpreted by the parent.
Multiplicity metadone.client.display.Component< C >.getMultiplicity | ( | ) |
Gets the multiplicity of this component.
Class<C> metadone.client.display.Component< C >.getType | ( | ) |
Gets the type of the component.
int metadone.client.display.Component< C >.hashCode | ( | ) |
Computed using
return Objects.hashCode( getEngine(), getIndicator(), getType(), Objects.hashCodeIter(iterator()));
boolean metadone.client.display.Component< C >.isActive | ( | ) |
Indicates whether the component is active.
A component is active if its engine is active.
boolean metadone.client.display.Component< C >.isEmpty | ( | ) |
Indicates whether the given component is empty.
true
iff the component is empty boolean metadone.client.display.Component< C >.isReductible | ( | ) |
Indicates whether this component is reductible.
true
iff this component can be reduced C metadone.client.display.Component< C >.reduceComponent | ( | ) | throws IrreductibleException |
Reduces this component into a single component
IrreductibleException | when the component couldn't be reduced |