Search in sources :

Example 1 with Or

use of org.whole.lang.grammars.model.Or in project whole by wholeplatform.

the class OrPart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    Or entity = getModelEntity();
    List<IEntity> list = new ArrayList<IEntity>(2);
    list.add(entity.getPredicate1());
    list.add(entity.getPredicate2());
    return list;
}
Also used : Or(org.whole.lang.grammars.model.Or) IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList)

Aggregations

ArrayList (java.util.ArrayList)1 Or (org.whole.lang.grammars.model.Or)1 IEntity (org.whole.lang.model.IEntity)1