1 19 20 package org.netbeans.lib.ddl.impl; 21 22 import java.util.*; 23 import org.netbeans.lib.ddl.*; 24 import org.netbeans.lib.ddl.impl.*; 25 26 31 32 public class RenameTable extends AbstractCommand 33 { 34 35 private String newname; 36 37 38 public static final String NEW_NAME = "object.newname"; 40 static final long serialVersionUID =-4410972392441335153L; 41 42 43 public String getNewName() 44 { 45 return newname; 46 } 47 48 49 public void setNewName(String name) 50 { 51 newname = name; 52 } 53 54 57 public Map getCommandProperties() 58 throws DDLException 59 { 60 Map args = super.getCommandProperties(); 61 args.put(NEW_NAME, newname); 62 return args; 63 } 64 } 65 66 77 | Popular Tags |