com.liferay.portal.kernel.upgrade.util
Class BaseUpgradeColumnImpl
java.lang.Object
com.liferay.portal.kernel.upgrade.util.BaseUpgradeColumnImpl
- All Implemented Interfaces:
- UpgradeColumn
- Direct Known Subclasses:
- DateUpgradeColumnImpl, SwapUpgradeColumnImpl, TempUpgradeColumnImpl
public abstract class BaseUpgradeColumnImpl
- extends Object
- implements UpgradeColumn
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseUpgradeColumnImpl
public BaseUpgradeColumnImpl(String name)
BaseUpgradeColumnImpl
public BaseUpgradeColumnImpl(String name,
Integer oldColumnType)
getName
public String getName()
- Specified by:
getName
in interface UpgradeColumn
getNewColumnType
public Integer getNewColumnType(Integer defaultType)
- Specified by:
getNewColumnType
in interface UpgradeColumn
getNewValue
public Object getNewValue()
- Specified by:
getNewValue
in interface UpgradeColumn
getOldColumnType
public Integer getOldColumnType(Integer defaultType)
- Specified by:
getOldColumnType
in interface UpgradeColumn
getOldValue
public Object getOldValue()
- Specified by:
getOldValue
in interface UpgradeColumn
increment
public long increment()
throws SystemException
- Specified by:
increment
in interface UpgradeColumn
- Throws:
SystemException
isApplicable
public boolean isApplicable(String name)
- Specified by:
isApplicable
in interface UpgradeColumn
setNewValue
public void setNewValue(Object newValue)
- Specified by:
setNewValue
in interface UpgradeColumn
setOldValue
public void setOldValue(Object oldValue)
- Specified by:
setOldValue
in interface UpgradeColumn