Search in sources :

Example 1 with ConditionPoint

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

the class ConditionPointPart method getModelSpecificChildren.

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

Example 2 with ConditionPoint

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

the class ConditionPointRowPart method getModelSpecificChildren.

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

Aggregations

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