Search in sources :

Example 6 with EnumEntity

use of org.whole.lang.models.model.EnumEntity in project whole by wholeplatform.

the class EnumEntityTablePart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    EnumEntity entity = getModelEntity();
    List<IEntity> list = new ArrayList<IEntity>(4);
    list.add(entity.getModifiers());
    list.add(entity.getName());
    list.add(entity.getTypes());
    list.add(entity.getValues());
    return list;
}
Also used : EnumEntity(org.whole.lang.models.model.EnumEntity) IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList)

Aggregations

EnumEntity (org.whole.lang.models.model.EnumEntity)6 IEntity (org.whole.lang.model.IEntity)5 CompositeEntity (org.whole.lang.models.model.CompositeEntity)5 SimpleEntity (org.whole.lang.models.model.SimpleEntity)5 Test (org.junit.Test)4 ModelsModel (org.whole.lang.models.codebase.ModelsModel)4 XmlModel (org.whole.lang.models.codebase.XmlModel)4 DataEntity (org.whole.lang.models.model.DataEntity)4 Model (org.whole.lang.models.model.Model)4 ModelDeclarations (org.whole.lang.models.model.ModelDeclarations)4 PathExpression (org.whole.lang.queries.model.PathExpression)4 ITemplateManager (org.whole.lang.templates.ITemplateManager)4 EnumValues (org.whole.lang.models.model.EnumValues)3 Feature (org.whole.lang.models.model.Feature)2 Features (org.whole.lang.models.model.Features)2 ArrayList (java.util.ArrayList)1 IBindingManager (org.whole.lang.bindings.IBindingManager)1 As (org.whole.lang.grammars.model.As)1 NonTerminal (org.whole.lang.grammars.model.NonTerminal)1 Repeat (org.whole.lang.grammars.model.Repeat)1