|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.database.Row | +--planetj.database.fielddescriptors.FieldDescriptorRow
Represents metadata describing a field that was read from a row in the database.
Nested Class Summary |
Nested classes inherited from class planetj.database.Row |
Row.SpacingRow |
Field Summary |
Fields inherited from class planetj.database.Row |
className, COPY, DELETE, INSERT, MODE_COPY, MODE_DELETE, MODE_INSERT, MODE_READ, MODE_SEARCH, MODE_UNKNOWN, MODE_UPDATE, READ, UPDATE |
Fields inherited from interface planetj.dataengine.security.IGuarded |
TYPE_ID_UNKNOWN, TYPE_NAME_FIELD, TYPE_NAME_SQLOPERATION, TYPE_SECURED_BY_LEVEL, TYPE_SECURED_BY_OPERATION, TYPE_UNSECURED |
Constructor Summary | |
FieldDescriptorRow()
|
Method Summary | |
FieldDescriptorRow |
cloneFD()
Clones this FieldDescriptorRow. |
Field |
createDefaultField()
Creates a default field for this field descriptor. |
Field |
createDefaultField(String pFieldName)
Creates a default field for this field descriptor. |
Field |
createField()
Creates a new field of the appropriate type |
Field |
createField(String pFieldName)
Creates a new field of the appropriate type |
Row |
createRow(Row pDefaultRow)
Creates a new Row. |
String |
getApplicationID()
|
int |
getAssociationFieldId()
Gets the id of the association group field that this field belongs to. |
int |
getAssociationId()
Gets the id of the association group that this field belongs to. |
Operation |
getAssociationOperation()
Gets the SQLOperation describing how the data for fields should be retrieved |
int |
getAssociationOperationId()
Gets the id of the SQLOperation which is used to retrieve the data described by this field descriptor |
String |
getAutoUpdateStringValue(ExecutingContext pEc)
Gets the auto update String parameter for the described fields. |
String |
getAutoUpdateValue()
Gets the default value for the described fields. |
String |
getCatalog()
Gets the Table's catalog (may be null). |
String |
getColumnName()
Gets the Column name. |
int |
getColumnSize()
Gets the column's size. |
DBSystem |
getColumnSystem()
Gets the table that this field descriptor is in. |
Table |
getColumnTable()
Returns the table that this field descriptor is in. |
Table |
getColumnTable(boolean oldValue)
Returns the table that this field descriptor is in. |
String |
getColumnTableName()
Gets the Table name. |
String |
getCompanyID()
|
int |
getConcurrency()
Gets the concurrency for the described field,, which determines if it is okay for concurrent update/deletes to occur. |
String |
getConnectionAlias()
Gets the system alias. |
SQLOperation |
getDataSQLOperation()
Deprecated. replaced with getAssociationOperation() |
int |
getDataSQLOperationId()
Deprecated. replaced with getAssociationID() |
short |
getDataType()
The returned value can be compated to values in java.sql.Types Creation date: (6/20/2002 1:28:30 PM) |
short |
getDecimalDigits()
Gets the column's number of fractional digits. |
String |
getDefaultStringValue(ExecutingContext pEc)
Return the string parameter specified as the default value. |
String |
getDefaultValue()
Return the string parameter specified as the default value. |
String |
getDeleteConfirmationMessage()
Get the delete confirmation message. |
int |
getDisplayComponent()
Gets the display component for this field. |
int |
getDisplayHeight()
Gets the Field's display height. |
int |
getDisplayLength()
Deprecated. replaced with getDisplayWidth() to keep consistent with what a user sees when they view the field (e.g. width and height of a field) |
int |
getDisplayOrder()
Gets the order in which this field should be displayed. |
int |
getDisplayRule()
Gets the display rule for this field. |
int |
getDisplayWidth()
Gets the Field's display width. |
String |
getDivisionID()
|
String |
getExternalName()
Sets the external name of the described fields. |
String |
getFieldClass()
Deprecated. Use getFieldClassName() instead |
String |
getFieldClassName()
Gets the name of the Java Class to use for instances of the described field. |
boolean |
getFieldClassParameterDigitRequired()
Gets the digitRequired parameter following the FieldClass such as Example: planetj.database.field.PasswordField,digitRequired=true **NOTE** Digit requird default to false |
int |
getFieldClassParameterMinLength()
Gets the minLength parameter following the FieldClass such as Example: planetj.database.field.PasswordField,minLength=7 |
String[] |
getFieldClassParameters()
Gets the parameters following the Field Class Example java.text.SimpleDateFormat, MMddyyyy |
String |
getFieldClassString()
Different from getFieldClassName in that we do not trim off the parameters. |
int |
getFieldDescriptorType()
Gets the type of this field descriptor |
String |
getFieldSet()
Gets the field set for the described fields. |
String |
getFormatterClass()
Gets the class name of the formatter for the described fields. |
String[] |
getFormatterClassParameters()
Gets the parameters following the Formatter Class Example java.text.SimpleDateFormat, MMddyyyy |
String |
getGetterMethod()
|
String |
getHelpText()
Gets the help text for the described fields. |
int |
getId()
Gets the ID of this field descriptor |
String |
getIsNullable()
Gets whether or not NULL is allowed. |
Class |
getJavaFieldClass()
Gets the Java Class to use for instances of the described field. |
int |
getKeyPostion()
Gets the position of the described field in the primary key of that field's table. |
int |
getMaxBytes()
Gets the maximum number of bytes in the column for char types. |
String |
getName()
Gets the name of the described fields. |
int |
getNullable()
Gets whether or not NULL is allowed. |
int |
getOrdinalPosition()
Gets the index of the column in the table (starting at 1). |
short |
getOrigin()
Indicates how this FD was created. |
int |
getOwnerId()
Returns the Owner Id |
Field |
getOwnerIdField()
Returns the Owner Id Field |
String |
getPossibleValueClass()
Returns the fully qualified name for a class implementing the IPossibleValueGetter interface
which will handle the retrieving of possible
values for Fields associated with this descriptor. |
RowCollection |
getPossibleValues(Field fld)
Returns a RowCollection containing the possible values for the Field. |
String |
getPossibleValuesKey()
Gets the possible values key. |
int |
getPossibleValuesSQLOperationId()
Gets the id of the SQLOperation which is used to retrieve the possible values for this field descriptor |
int |
getRadix()
Gets the column's radix. |
String |
getRemarks()
Gets the comment describing the column (may be null) |
RowCollection |
getSampleFieldData()
Returns a RowCollection of sample Data that relates to the field that this FD describes Creation date: (6/20/2002 11:12:15 AM) |
RowCollection |
getSampleTableData()
Returns a RowCollection of sample Data that relates to the library and table that this FD describes Creation date: (6/20/2002 11:12:15 AM) |
String |
getSchema()
Gets the Table's schema (may be null). |
int |
getSecuredTypeId()
Gets the id of the secured type. |
String |
getSecuredTypeName()
Gets the secured type name of the secured object. |
int |
getSecurityId()
Gets the id of the security entity pertaining to the Fields this FieldDescriptorRow describes. |
int |
getSecurityType()
Gets the security type of the Fields this FieldDescriptorRow describes. |
String |
getSetterMethod()
|
int |
getSQLType()
Gets the SQL type of the described fields. |
String |
getSQLTypeName()
getSQLTypeName method comment. |
int |
getStatusChange()
Returns whether or not we notify on a status change |
String |
getStyleClass()
Gets the style class for this FieldDescriptor's Fields |
String |
getSwitches()
Gets the switches, swithces is an extra field for holding special indicators which may be used for influencing how the DataEngine behaves. |
String |
getSystemURL()
Gets the system url. |
int |
getUsageId()
Gets the usageId of the field. |
String |
getXMLTag()
|
Class |
guessFieldClass()
Here is where we will take an educated guess at what the Field Class will be for this FD Row. |
boolean |
hasAutoPopulateOperation()
This method simply tells whether or not there is a value in the PV_LV_ID column. |
boolean |
hasDefaultValue()
Tests if Fields associated with this descriptor have a default value. |
boolean |
hasFormatter()
Tests if a formatter class exists for the described field. |
boolean |
hasHelpText()
Tests if help text exists for the described field. |
boolean |
hasPossibleValuesKeyClassOrOp()
This method determines if the FD has possible values of any kind. |
boolean |
hasPossibleValuesSQLOperation()
This method simply tells whether or not there is a value in the PV_LV_ID column. |
boolean |
hasUsageId()
Check if this FieldDescriptorRow has a usage id. |
int |
insert(SQLContext context)
Inserts this Row into its table. |
boolean |
isAssignable(Class classType)
Returns true if this FDRow has a fieldClass which is equal or a subclass of classType |
boolean |
isAssociation()
Tests if this field descriptor is an association field descriptor |
boolean |
isAssociationOperation()
Tests if the data contained in the field described by this field descriptor is the result of an SQL operation |
boolean |
isAssociationSpecified()
Indicates whether the column has association id specified |
boolean |
isAuthorizedForEdit(Row pRow,
ExecutingContext pEc)
Tests if user can edit a field. |
boolean |
isAuthorizedForRead(Row pRow,
ExecutingContext pEc)
Tests if user can read a field. |
boolean |
isAutoIncrement()
Checks if this Field's value is auto incremented. |
boolean |
isAutoPopulate()
|
boolean |
isAutoTrimOnRead()
|
boolean |
isAutoTrimOnWrite()
|
boolean |
isAutoUpdateValue()
Checks if this Field has a default value. |
boolean |
isCaseSensitive()
Returns if this column is case sensitive. |
boolean |
isColumnTableChanged()
Tests if this field descriptor is describing a different table than it was when it was read from the DB |
boolean |
isCurrency()
Returns if this column is currency. |
boolean |
isCurrent()
Check this FD to see if it is the most current. |
boolean |
isDataSQLOperation()
Deprecated. replaced with isAssociationOperation() |
boolean |
isDefaultValue()
Deprecated. (7/14/2003 10:23:14 AM) replaced with hasDefaultValue to keep method name easier to understand and make sense |
boolean |
isDerived()
Tests if the field described by this field descriptor is derived |
boolean |
isDisplayable(ExecutingContext ec)
Indicates whether this column is definitely not writable. |
boolean |
isExistInFDFile()
Return true if this FieldDescriptor exists in the Field Data file |
boolean |
isFileUpload()
|
boolean |
isGetterMethodSpecified()
Indicates whether the column has a getter method specified. |
boolean |
isGuessFieldClass()
Tests if the system shoulc attempt to guess the field class for the described field when this row is inserted into the DB |
boolean |
isInKey()
Tests if the described field is part of the primary key for its table. |
boolean |
isLogical()
Check to see if Field this FieldDescriptor describes is logical. |
boolean |
isNullCapable()
Indicates whether this column is null capable. |
boolean |
isPercentage()
Returns if this column is currency. |
boolean |
isPhysical()
Tests if this field descriptor describes a field that is physically present in the database |
boolean |
isPossibleValuesSearch()
Tests if this field descriptor describes a field that is physically present in the database |
boolean |
isReadFromDBMetadata()
Return true if this FieldDescriptor was read from DB metadata |
boolean |
isReadFromRSMetadata()
Return true if this FieldDescriptor was read from RS metadata |
boolean |
isReadOnly()
Indicates whether this column is definitely not writable. |
boolean |
isRequired()
Returns true if this field is required |
boolean |
isRequiredOnSearch()
Check if Field's value is required on search. |
boolean |
isSearchable()
Indicates whether the column can be used in a where clause. |
boolean |
isSetterMethodSpecified()
Indicates whether the column has a setter method specified. |
boolean |
isShared()
Tests if this FD is shared |
boolean |
isSigned()
Indicates whether values in the column are signed numbers. |
boolean |
isSortable()
Checks if this Field's value is auto incremented. |
void |
setApplicationID(String pApplicationID)
|
void |
setAssociationFieldId(int id)
Sets the id of the association group field that this field belongs to. |
void |
setAssociationId(int id)
Sets the id of the association group that this field belongs to. |
void |
setAutoIncrement(boolean pIsAutoIncrement)
Sets wheter or not this Field's value is auto incremented. |
void |
setAutoTrimOnRead(boolean pAutoTrimOnRead)
|
void |
setAutoTrimOnWrite(boolean pAutoTrimOnWrite)
|
void |
setCaseSensitive(boolean pCaseSensitive)
Sets if this column is case sensitive. |
void |
setCatalog(String pCatalog)
Sets the Table's catalog (may be null). |
void |
setColumnSize(int pColumnSize)
Sets the column's size. |
void |
setColumnTableName(String pColumnTableName)
Sets the Table name. |
void |
setCompanyID(String pCompanyID)
|
void |
setConcurrency(int pConcurrency)
Sets the concurrency for the described fields, which determines if it is okay for concurrent update/deletes to occur. |
void |
setConnectionAlias(String alias)
Sets the system alias. |
void |
setCurrency(boolean pCurrency)
Sets if this column is currency. |
void |
setCurrent(boolean current)
Set whether or not this FD is the most current. |
void |
setDataSQLOperationId(int value)
Sets the id of the SQLOperation which is used to retrieve the data described by this field descriptor |
void |
setDecimalDigits(int pDecimalDigits)
Sets the column's number of fractional digits. |
void |
setDefaultValue(String pDefaultValue)
Sets the default value for the described field. |
void |
setDisplayComponent(int component)
Sets the display component for this field. |
void |
setDisplayHeight(int value)
Sets the Field's display height. |
void |
setDisplayLength(int value)
Deprecated. replaced with setDisplayWidth(int) to keep consistent with what a user sees when they view the field (e.g. width and height of a field) (7/7/2003 2:26:31 PM) |
void |
setDisplayOrder(int value)
Sets the order in which this field should be displayed. |
void |
setDisplayRule(int rule)
Sets the display rule for this field. |
void |
setDisplayWidth(int value)
Sets the Field's display width. |
void |
setDivisionID(String pDivisionID)
|
void |
setExternalName(String pExternalName)
Sets the external name of the described field. |
void |
setFieldClass(Class pFieldClass)
Sets the class name of the formatter for the field. |
void |
setFieldClass(String pFieldClass)
Sets the class name of the formatter for the field. |
void |
setFieldDescriptorType(int value)
Sets the type of this field descriptor |
void |
setFieldSet(String value)
Sets the field set for the described fields. |
void |
setFieldValue(String fldNam,
Object value)
Sets the value of the specified field. |
void |
setFormatterClass(String pFormatter)
Sets the class name of the formatter for the field. |
void |
setGuessFieldClass(boolean newGuessFieldClass)
Sets if the system shoulc attempt to guess the field class for the described field when this row is inserted into the DB |
void |
setHelpText(String pHelpText)
Sets the help text for the described field. |
void |
setIsNullable(String pIsNullable)
Sets whether or not NULL is allowed. |
void |
setKeyPosition(int pKeyPosition)
Sets the position of the described field in the primary key of that field's table. |
void |
setMaxBytes(int pMaxBytes)
Sets the maximum number of bytes in the column for char types. |
void |
setName(String pName)
Sets the name of the described fields. |
void |
setNullable(int pNullable)
Sets whether or not NULL is allowed. |
void |
setOrdinalPosition(int pOrdinalPosition)
Sets the index of the column in the table (starting at 1). |
void |
setPossibleValueClass(String pPVClass)
Sets the fully qualified name for a class implementing the IPossibleValueGetter interface
which will handle the retrieving of possible
values for Fields associated with this descriptor. |
void |
setPossibleValuesKey(String value)
Sets the possible values key. |
void |
setPossibleValuesSQLOperationId(int value)
Sets the id of the SQLOperation which is used to retrieve the possible values for this field descriptor |
void |
setRadix(int pRadix)
Sets the column's radix. |
void |
setReadOnly(boolean pReadOnly)
Sets whether this column is definitely not writable. |
void |
setRemarks(String pRemarks)
Sets the comment describing the column (may be null) |
void |
setRequired(boolean required)
Sets if this column allows null. |
void |
setSchema(String pSchema)
Sets the Table's schema (may be null). |
void |
setSearchable(boolean pSearchable)
Sets whether the column can be used in a where clause. |
void |
setSigned(boolean pSigned)
Sets whether values in the column are signed numbers. |
void |
setSortable(boolean pSortable)
|
void |
setSQLType(int pSQLType)
Sets the SQL type of the described fields. |
void |
setSQLTypeName(String pSQLTypeName)
setSQLTypeName method comment. |
void |
setStatusChange(int pStatusChange)
Sets whether or not to notify on status change |
void |
setSwitches(String switches)
Sets the switches, swithces is an extra field for holding special indicators which may be used for influencing how the DataEngine behaves. |
void |
setSystemURL(String pSystemURL)
Sets the system url. |
void |
setTable(Table pTable)
Sets the table to which this row belongs. |
void |
setUsageId(int usageid)
Gets the usageId of the field. |
void |
setXMLTag(String pXMLTag)
|
String |
toString()
|
Row |
transferDataTo(Row pDestinationRow)
Transfers all the data in this Row into a different Row. |
int |
update(Connection conn,
ExecutingContext ec)
Updates the database with the values in this Row. |
boolean |
validate(ExecutingContext pContext)
Validate this Row based on it's configuration and field values. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FieldDescriptorRow()
Method Detail |
public FieldDescriptorRow cloneFD() throws CMException
CMException
public Field createDefaultField() throws CMException
CMException
public Field createDefaultField(String pFieldName) throws CMException
CMException
public Field createField() throws CMException
CMException
public String getDeleteConfirmationMessage()
Row
getDeleteConfirmationMessage
in class Row
public Field createField(String pFieldName) throws CMException
CMException
public Row createRow(Row pDefaultRow) throws CMException
transferDataTo()
method is used to move the data from the
default Row to the newly created Row.
Override this method if the type of Row to add needs to be dynamically determined from the retrieved data.
createRow
in interface IRowCreator
createRow
in class Row
pDefaultRow
- A Row containing data read from the database (it will always be equal to this)
CMException
public String getApplicationID()
public int getAssociationFieldId()
public int getAssociationId()
public Operation getAssociationOperation() throws CMException
CMException
public int getAssociationOperationId()
public String getAutoUpdateStringValue(ExecutingContext pEc)
public String getAutoUpdateValue()
public String getCatalog()
public String getColumnName()
public int getColumnSize()
public DBSystem getColumnSystem()
public Table getColumnTable()
public Table getColumnTable(boolean oldValue)
oldValue
- If this is true, then the "old" table is returned
Creation date: (5/10/2002 11:56:07 AM)public String getColumnTableName()
public String getCompanyID()
public int getConcurrency()
FieldDescriptorRow
.
public String getConnectionAlias()
public SQLOperation getDataSQLOperation() throws CMException
CMException
public int getDataSQLOperationId()
public short getDataType()
Types
public short getDecimalDigits()
public String getDefaultStringValue(ExecutingContext pEc)
public String getDefaultValue()
public int getDisplayComponent()
public int getDisplayHeight()
public int getDisplayLength()
public int getDisplayOrder()
public int getDisplayRule()
public int getDisplayWidth()
public String getDivisionID()
public String getExternalName()
public String getFieldClass() throws CMException
Gets the name of the Java Class to use for instances of the described field. See
getJavaFieldClass()
for more information.
CMException
public String getFieldClassName() throws CMException
Gets the name of the Java Class to use for instances of the described field. See
getJavaFieldClass()
for more information.
CMException
public String[] getFieldClassParameters()
public String getFieldClassString() throws CMException
CMException
public int getFieldDescriptorType()
public String getFieldSet()
public String getFormatterClass()
public String[] getFormatterClassParameters()
public String getGetterMethod()
public String getHelpText()
public int getId()
public String getIsNullable()
public Class getJavaFieldClass() throws CMException
Gets the Java Class to use for instances of the described field. If this class name has been specified, in the FD then it is used to create the Class instance. If the class name is not specified in the FD then it is determined from the SQL data type.
This method is a replacement for the old getFieldClass() method which calculated the field class each time. Now it's calculated once and cached.
CMException
- If a class name was entered, but does not correspond to a Java classpublic int getKeyPostion()
public int getMaxBytes()
public String getName()
public int getNullable()
public int getOrdinalPosition()
public short getOrigin()
public int getOwnerId()
IOwner
public Field getOwnerIdField()
getOwnerIdField
in interface IOwner
IOwner
public String getPossibleValueClass()
IPossibleValueGetter
interface
which will handle the retrieving of possible
values for Fields associated with this descriptor.
public RowCollection getPossibleValues(Field fld) throws CMException
fld
- Field
CMException
public String getPossibleValuesKey()
public int getPossibleValuesSQLOperationId()
public int getRadix()
public String getRemarks()
public RowCollection getSampleFieldData()
public RowCollection getSampleTableData()
public String getSchema()
public int getSecuredTypeId()
getSecuredTypeId
in interface IGuarded
getSecuredTypeId
in class Row
public String getSecuredTypeName()
getSecuredTypeName
in interface IGuarded
getSecuredTypeName
in class Row
public int getSecurityId()
public int getSecurityType()
getSecurityType
in interface IGuarded
getSecurityType
in class Row
public String getSetterMethod()
public int getSQLType()
java.sql.Types
public String getSQLTypeName()
public int getStatusChange()
public String getStyleClass()
public String getSwitches()
public String getSystemURL()
public int getUsageId()
public String getXMLTag()
public Class guessFieldClass()
public boolean hasAutoPopulateOperation()
public boolean hasDefaultValue()
public boolean hasFormatter()
public boolean hasHelpText()
public boolean hasPossibleValuesKeyClassOrOp()
public boolean hasPossibleValuesSQLOperation()
public boolean hasUsageId()
public int insert(SQLContext context) throws CMException
insert
in class Row
CMException
public boolean isAssignable(Class classType)
public boolean isAssociation()
public boolean isAssociationOperation()
public boolean isAssociationSpecified()
public boolean isAuthorizedForEdit(Row pRow, ExecutingContext pEc) throws CMException
CMException
public boolean isAuthorizedForRead(Row pRow, ExecutingContext pEc) throws CMException
CMException
public boolean isAutoIncrement()
public boolean isAutoPopulate()
public boolean isAutoTrimOnRead()
public boolean isAutoTrimOnWrite()
public boolean isAutoUpdateValue()
public boolean isCaseSensitive()
public boolean isColumnTableChanged()
public boolean isCurrency()
public boolean isCurrent()
public boolean isDataSQLOperation()
public boolean isDefaultValue()
public boolean isDerived()
public boolean isDisplayable(ExecutingContext ec)
public boolean isExistInFDFile()
public boolean isFileUpload()
public boolean isGetterMethodSpecified()
public boolean isGuessFieldClass()
public boolean isInKey()
public boolean isLogical()
public boolean isNullCapable()
public boolean isPercentage()
public boolean isPhysical()
public boolean isPossibleValuesSearch()
public boolean isReadFromDBMetadata()
public boolean isReadFromRSMetadata()
public boolean isReadOnly()
public boolean isRequired()
public boolean isRequiredOnSearch()
public boolean isSearchable()
public boolean isSetterMethodSpecified()
public boolean isShared()
public boolean isSigned()
public boolean isSortable()
public void setApplicationID(String pApplicationID) throws CMException
CMException
public void setAssociationFieldId(int id)
public void setAssociationId(int id)
public void setAutoIncrement(boolean pIsAutoIncrement) throws CMException
CMException
public void setAutoTrimOnRead(boolean pAutoTrimOnRead) throws CMException
CMException
public void setAutoTrimOnWrite(boolean pAutoTrimOnWrite) throws CMException
CMException
public void setCaseSensitive(boolean pCaseSensitive) throws CMException
CMException
public void setCatalog(String pCatalog) throws CMException
CMException
public void setColumnSize(int pColumnSize) throws CMException
CMException
public void setColumnTableName(String pColumnTableName) throws CMException
CMException
public void setCompanyID(String pCompanyID) throws CMException
CMException
public void setConcurrency(int pConcurrency) throws CMException
FieldDescriptorRow
.
CMException
public void setConnectionAlias(String alias) throws CMException
CMException
public void setCurrency(boolean pCurrency) throws CMException
CMException
public void setCurrent(boolean current)
public void setDataSQLOperationId(int value) throws CMException
CMException
public void setDecimalDigits(int pDecimalDigits) throws CMException
CMException
public void setDefaultValue(String pDefaultValue) throws CMException
CMException
public void setDisplayComponent(int component) throws CMException
CMException
public void setDisplayHeight(int value) throws CMException
value
- display height for the Field
CMException
public void setDisplayLength(int value) throws CMException
CMException
public void setDisplayOrder(int value) throws CMException
CMException
public void setDisplayRule(int rule) throws CMException
CMException
public void setDisplayWidth(int value) throws CMException
value
- display width for the Field
CMException
public void setDivisionID(String pDivisionID) throws CMException
CMException
public void setExternalName(String pExternalName) throws CMException
CMException
public void setFieldClass(Class pFieldClass) throws CMException
CMException
public void setFieldClass(String pFieldClass) throws CMException
CMException
public void setFieldDescriptorType(int value) throws CMException
CMException
public void setFieldSet(String value) throws CMException
CMException
public void setFieldValue(String fldNam, Object value) throws CMException
setFieldValue
in class Row
fldNam
- The name of the field to set. If no such field exists in this Row, a
skeleton
field will be created to hold the value, and added to this row.value
- The value to set the field to.
CMException
public void setFormatterClass(String pFormatter) throws CMException
CMException
public void setGuessFieldClass(boolean newGuessFieldClass)
public void setHelpText(String pHelpText) throws CMException
CMException
public void setIsNullable(String pIsNullable) throws CMException
CMException
public void setKeyPosition(int pKeyPosition) throws CMException
CMException
public void setMaxBytes(int pMaxBytes) throws CMException
CMException
public void setName(String pName) throws CMException
CMException
public void setNullable(int pNullable) throws CMException
CMException
public void setOrdinalPosition(int pOrdinalPosition) throws CMException
CMException
public void setPossibleValueClass(String pPVClass) throws CMException
IPossibleValueGetter
interface
which will handle the retrieving of possible
values for Fields associated with this descriptor.
CMException
public void setPossibleValuesKey(String value) throws CMException
CMException
public void setPossibleValuesSQLOperationId(int value) throws CMException
CMException
public void setRadix(int pRadix) throws CMException
CMException
public void setReadOnly(boolean pReadOnly) throws CMException
CMException
public void setRemarks(String pRemarks) throws CMException
CMException
public void setRequired(boolean required) throws CMException
CMException
public void setSchema(String pSchema) throws CMException
CMException
public void setSearchable(boolean pSearchable) throws CMException
CMException
public void setSigned(boolean pSigned) throws CMException
CMException
public void setSortable(boolean pSortable) throws CMException
CMException
public void setSQLType(int pSQLType) throws CMException
java.sql.Types
CMException
public void setSQLTypeName(String pSQLTypeName) throws CMException
CMException
public void setStatusChange(int pStatusChange) throws CMException
CMException
public void setSwitches(String switches) throws CMException
CMException
public void setSystemURL(String pSystemURL) throws CMException
CMException
public void setTable(Table pTable)
public void setUsageId(int usageid) throws CMException
CMException
public void setXMLTag(String pXMLTag) throws CMException
CMException
public String toString()
toString
in class Object
public Row transferDataTo(Row pDestinationRow) throws DataEngineException
transferDataTo
in class Row
pDestinationRow
- The Row to copy the data to.
DataEngineException
public int update(Connection conn, ExecutingContext ec) throws CMException
Row
update
in class Row
CMException
public boolean validate(ExecutingContext pContext) throws CMException
Row
validate
in class Row
CMException
public boolean getFieldClassParameterDigitRequired()
public int getFieldClassParameterMinLength()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |