Search in sources :

Example 1 with Attribute

use of org.whole.lang.frames.model.Attribute in project whole by wholeplatform.

the class AttributeRowPart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    Attribute entity = getModelEntity();
    List<IEntity> children = new ArrayList<IEntity>(2);
    children.add(entity.getName());
    children.add(entity.getValue());
    return children;
}
Also used : Attribute(org.whole.lang.frames.model.Attribute) IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList)

Example 2 with Attribute

use of org.whole.lang.frames.model.Attribute in project whole by wholeplatform.

the class AttributeDownPart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    Attribute entity = getModelEntity();
    List<IEntity> children = new ArrayList<IEntity>(3);
    children.add(entity.getName());
    children.add(entity.getType());
    children.add(entity.getValue());
    return children;
}
Also used : Attribute(org.whole.lang.frames.model.Attribute) IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList)

Example 3 with Attribute

use of org.whole.lang.frames.model.Attribute in project whole by wholeplatform.

the class AttributeRightPart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    Attribute entity = getModelEntity();
    List<IEntity> children = new ArrayList<IEntity>(3);
    children.add(entity.getName());
    children.add(entity.getType());
    children.add(entity.getValue());
    return children;
}
Also used : Attribute(org.whole.lang.frames.model.Attribute) IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList)

Aggregations

ArrayList (java.util.ArrayList)3 Attribute (org.whole.lang.frames.model.Attribute)3 IEntity (org.whole.lang.model.IEntity)3