public abstract class BaseUpgradeColumnImpl extends Object implements UpgradeColumn
Constructor and Description |
---|
BaseUpgradeColumnImpl(String name) |
BaseUpgradeColumnImpl(String name,
Integer oldColumnType) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Integer |
getNewColumnType(Integer defaultType) |
Object |
getNewValue() |
Integer |
getOldColumnType(Integer defaultType) |
Object |
getOldValue() |
long |
increment() |
boolean |
isApplicable(String name) |
void |
setNewValue(Object newValue) |
void |
setOldValue(Object oldValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNewValue
public BaseUpgradeColumnImpl(String name)
public BaseUpgradeColumnImpl(String name, Integer oldColumnType)
public String getName()
getName
in interface UpgradeColumn
public Integer getNewColumnType(Integer defaultType)
getNewColumnType
in interface UpgradeColumn
public Object getNewValue()
getNewValue
in interface UpgradeColumn
public Integer getOldColumnType(Integer defaultType)
getOldColumnType
in interface UpgradeColumn
public Object getOldValue()
getOldValue
in interface UpgradeColumn
public long increment()
increment
in interface UpgradeColumn
public boolean isApplicable(String name)
isApplicable
in interface UpgradeColumn
public void setNewValue(Object newValue)
setNewValue
in interface UpgradeColumn
public void setOldValue(Object oldValue)
setOldValue
in interface UpgradeColumn