Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.java.ao.schema.ddl;
 
 import static net.java.ao.schema.ddl.DDLActionType.*;

A utility class to manipulate DDL Actions. Do not instantiate.
 
 public final class DDLActions
    private DDLActions()
    {
    }
    public static DDLAction newAlterAddKey(DDLForeignKey key)
    {
        final DDLAction action = newAction();
        action.setKey(key);
        return action;
    }
    public static DDLAction newInsert(DDLTable tableDDLValue[] values)
    {
        final DDLAction action = newAction();
        action.setTable(table);
        action.setValues(values);
        return action;
    }
    private static DDLAction newAction(DDLActionType actionType)
    {
        return new DDLAction(actionType);
    }
New to GrepCode? Check out our FAQ X