public class LocalFieldDesc extends FieldDesc
absoluteID, classDesc, concurrencyGroup, fetchGroup, GROUP_DEFAULT, GROUP_NONE, logger, messages, PROP_FOREIGN_KEY_FIELD, PROP_IN_CONCURRENCY_CHECK, PROP_LOG_ON_UPDATE, PROP_PRIMARY_KEY_FIELD, PROP_PRIMARY_TRACKED_FIELD, PROP_READ_ONLY, PROP_RECORD_ON_UPDATE, PROP_REF_INTEGRITY_UPDATES, PROP_SECONDARY_TRACKED_FIELD, PROP_TRACK_RELATIONSHIP_FIELD, PROP_VERSION_FIELD, sqlProperties| Modifier and Type | Method and Description |
|---|---|
Iterator |
getColumnElements()
Returns an iterator on the mapped column elements.
|
org.netbeans.modules.dbschema.ColumnElement |
getPrimaryColumn()
Gets the
ColumnElement for the primary column of this field. |
void |
incrementValue(StateManager sm)
Increments this field in the instance managed by state manager
sm by one. |
static boolean |
isCharLobType(int sqlType)
Determines if
sqltype passed to this method is to be considered a character
LOB type. |
static boolean |
isFixedCharType(int sqlType)
Determines if the
sqlType passed to this method corresponds to
a fixed char type. |
boolean |
isMappedToLob()
Determines if this field is mapped to a LOB column type.
|
boolean |
isPrimitiveMappedToNullableColumn() |
boolean |
isVersion()
Returns true if this field is a version field.
|
protected void |
setupDesc(Field f)
Calls the superclass method and disables concurrency checking
for certain field types.
|
addTrackedField, convertValue, createSCO, getCharFromString, getComponentType, getDeclaringClass, getEnumType, getName, getTrackedFields, getType, getValue, isForeignKeyField, isKeyField, isRelationshipField, setValue, toStringpublic boolean isPrimitiveMappedToNullableColumn()
public boolean isMappedToLob()
true if field is mapped to LOB column type. false
otherwise.public static boolean isCharLobType(int sqlType)
sqltype passed to this method is to be considered a character
LOB type.true if field is mapped to character LOB column type. false
otherwise.public static boolean isFixedCharType(int sqlType)
sqlType passed to this method corresponds to
a fixed char type.sqlType - The input sqlType.true if field is mapped to Types.CHAR
false otherwise.public org.netbeans.modules.dbschema.ColumnElement getPrimaryColumn()
ColumnElement for the primary column of this field.ColumnElement for the primary column of this field.public Iterator getColumnElements()
public boolean isVersion()
public void incrementValue(StateManager sm)
sm by one.sm - State manager to be modified.Copyright © 2017. All rights reserved.