Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.kie.workbench.common.services.datamodel.backend.server.builder.projects;
 
 import java.util.Map;
 
 import  org.drools.workbench.models.datamodel.oracle.ModelField;
 import  org.drools.workbench.models.datamodel.oracle.TypeSource;

Simple builder for Fact Types
public class SimpleFactBuilder extends BaseFactBuilder {
    public SimpleFactBuilderfinal ProjectDataModelOracleBuilder builder,
                              final String factType,
                              final boolean isEvent,
                              final TypeSource typeSource ) {
        superbuilder,
               factType,
               false,
               isEvent,
               typeSource );
    }
    public SimpleFactBuilder addFieldfinal ModelField field ) {
        super.addFieldfield );
        return this;
    }
    @Override
    public Map<StringFactBuildergetInternalBuilders() {
        return Collections.emptyMap();
    }
New to GrepCode? Check out our FAQ X