|
WebObjects 5.4.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webobjects.eoaccess.synchronization.EOSchemaSynchronizationChanges
com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationColumnChanges
public class EOSchemaSynchronizationColumnChanges
Encapsulates column changes.
EOSchemaSynchronizationTableChanges,
EOSchemaSynchronizationFactory,
EOSchemaSynchronization| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
|---|
NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor |
| Field Summary |
|---|
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
KeyPathSeparator |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
|---|
NullValue |
| Constructor Summary | |
|---|---|
EOSchemaSynchronizationColumnChanges(String name)
|
|
| Method Summary | |
|---|---|
boolean |
allowNull()
|
void |
clearAllowNull()
Resets the allow null parameter |
void |
clearExternalType()
Resets the External Type parameter |
void |
clearPrecision()
Resets the Precision parameter |
void |
clearScale()
Resets the scale parameter |
void |
clearWidth()
Resets the width parameter |
EOSchemaSynchronizationColumnChanges |
clone()
|
String |
defaultExternalType()
Returns the default precision for the column if not set. |
Number |
defaultPrecision()
Returns the default precision for the column if not set. |
Number |
defaultScale()
Returns the default scale for the column if not set. |
Number |
defaultWidth()
Returns the default width for the column if not set. |
String |
externalType()
|
void |
fieldsToString(StringBuilder aLog)
|
boolean |
isAllowNullDefined()
Check if allow null have been defined |
boolean |
isEmpty()
Checks if there is any changes defined by this structrure |
boolean |
isExternalTypeDefined()
Check if External Type have been defined |
boolean |
isPrecisionDefined()
Check if Precision have been defined |
boolean |
isRename()
Checks if this is a column rename |
boolean |
isScaleDefined()
Check if Scale have been defined |
boolean |
isWidthDefined()
Check if Width have been defined |
String |
name()
|
String |
oldName()
Returns the old name of the column |
int |
precision()
|
int |
scale()
|
void |
setAllowNull(boolean value)
|
void |
setExternalType(String value)
|
void |
setOldName(String value)
Sets the old name of the column |
void |
setPrecision(int value)
|
void |
setScale(int scale)
|
void |
setWidth(int value)
|
int |
width()
|
| Methods inherited from class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationChanges |
|---|
takeValueForKey, takeValueForKeyPath, toString, valueForKey, valueForKeyPath |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EOSchemaSynchronizationColumnChanges(String name)
| Method Detail |
|---|
public String name()
public boolean isEmpty()
isEmpty in class EOSchemaSynchronizationChangespublic String oldName()
public void setOldName(String value)
value - the oldName to setpublic boolean isRename()
public boolean isAllowNullDefined()
public void clearAllowNull()
public boolean allowNull()
public void setAllowNull(boolean value)
value - the allowNull to setpublic boolean isExternalTypeDefined()
public void clearExternalType()
public String defaultExternalType()
public String externalType()
public void setExternalType(String value)
value - the externalType to setpublic boolean isPrecisionDefined()
public void clearPrecision()
public Number defaultPrecision()
public int precision()
public void setPrecision(int value)
precision - the precision to setpublic boolean isWidthDefined()
public void clearWidth()
public Number defaultWidth()
public int width()
public void setWidth(int value)
width - the width to setpublic boolean isScaleDefined()
public void clearScale()
public Number defaultScale()
public int scale()
public void setScale(int scale)
scale - the scale to setpublic EOSchemaSynchronizationColumnChanges clone()
clone in class Objectpublic void fieldsToString(StringBuilder aLog)
fieldsToString in class EOSchemaSynchronizationChanges
|
Last updated June 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||