Search in sources :

Example 6 with ComponentObjectTypeInnerType

use of com.vaadin.generator.metadata.ComponentObjectType.ComponentObjectTypeInnerType in project flow by vaadin.

the class NestedClassGeneratorTest method createComponentObjectType.

private ComponentObjectTypeInnerType createComponentObjectType(String name, ComponentBasicType... basicTypes) {
    ComponentObjectTypeInnerType objectType = new ComponentObjectTypeInnerType();
    objectType.setType(Arrays.asList(basicTypes));
    objectType.setName(name);
    return objectType;
}
Also used : ComponentObjectTypeInnerType(com.vaadin.generator.metadata.ComponentObjectType.ComponentObjectTypeInnerType)

Aggregations

ComponentObjectTypeInnerType (com.vaadin.generator.metadata.ComponentObjectType.ComponentObjectTypeInnerType)6 ComponentObjectType (com.vaadin.generator.metadata.ComponentObjectType)4 CoreMatchers.containsString (org.hamcrest.CoreMatchers.containsString)4 Test (org.junit.Test)4 ComponentFunctionData (com.vaadin.generator.metadata.ComponentFunctionData)2 ComponentFunctionParameterData (com.vaadin.generator.metadata.ComponentFunctionParameterData)2 JsonSerializable (com.vaadin.flow.component.JsonSerializable)1 ComponentBasicType (com.vaadin.generator.metadata.ComponentBasicType)1 ComponentEventData (com.vaadin.generator.metadata.ComponentEventData)1 ComponentPropertyBaseData (com.vaadin.generator.metadata.ComponentPropertyBaseData)1 ComponentPropertyData (com.vaadin.generator.metadata.ComponentPropertyData)1 JavaClassSource (org.jboss.forge.roaster.model.source.JavaClassSource)1