Search in sources :

Example 1 with IterationPoint

use of org.whole.lang.patterns.model.IterationPoint in project whole by wholeplatform.

the class IterationPointPart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    IterationPoint entity = getModelEntity();
    List<IEntity> children = new ArrayList<IEntity>(2);
    children.add(entity.getTemplate());
    children.add(entity.getIterator());
    return children;
}
Also used : IterationPoint(org.whole.lang.patterns.model.IterationPoint) IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList)

Example 2 with IterationPoint

use of org.whole.lang.patterns.model.IterationPoint in project whole by wholeplatform.

the class IterationPointRowPart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    IterationPoint entity = getModelEntity();
    List<IEntity> children = new ArrayList<IEntity>(2);
    children.add(entity.getTemplate());
    children.add(entity.getIterator());
    return children;
}
Also used : IterationPoint(org.whole.lang.patterns.model.IterationPoint) IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList)

Aggregations

ArrayList (java.util.ArrayList)2 IEntity (org.whole.lang.model.IEntity)2 IterationPoint (org.whole.lang.patterns.model.IterationPoint)2