planetj.database.possiblevalues
Class PossibleValueRow

java.lang.Object
  |
  +--planetj.database.Row
        |
        +--planetj.database.possiblevalues.PossibleValueRow
All Implemented Interfaces:
Cloneable, IBatchProcessObject, IBusinessObject, ICSVRow, IDistributedExecutableObject, IFDFObject, IGuarded, INamedCollection, INavigationObject, IPossibleValue, IRowCreator, IXMLObject, Serializable

public class PossibleValueRow
extends Row
implements IPossibleValue

Author:
PlanetJ Corporation
See Also:
Serialized Form

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.database.possiblevalues.IPossibleValue
DISPLAY_ORDER, DISPLAY_VALUE, DISPLAY_VALUE_SQL_TYPE, FIELD_NAME, KEY, LIBRARY_NAME, OWNER_ID, POSSIBLE_VALUES_TABLE_NAME, SYSTEM_ALIAS, TABLE_NAME, TYPE, TYPE_CONFIG_PROPERTY, TYPE_POSSIBLE_VALUE, VALUE
 
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
PossibleValueRow()
           
 
Method Summary
 String getAlias()
          Returns the possible value system alias for the field.
 String getDeleteConfirmationMessage()
          Get the delete confirmation message.
 String getDisplayValue()
          Returns the possible display value for the value.
 int getDisplayValueSQLType()
          Returns the possible value's value sql type.
 String getFieldName()
          Returns the possible value field for the field.
 String getKey()
          Returns the possible value key for the field.
 String getLibrary()
          Returns the possible value library for the field.
 String getNameOfTable()
          Returns the possible value table for the field.
 int getType()
          Returns the possible value type the field.
 String getValue()
          Returns the possible value for the field.
 void setAlias(String sysAlias)
          Sets the possible values system alias.
 void setDisplayValue(String dspValue)
          Sets the possible value's display value field.
 void setDisplayValueSQLType(int sqlType)
          Sets the possible value's value sql type.
 void setFieldName(String fldNam)
          Sets the possible values field name.
 void setKey(String key)
          Sets the possible values key.
 void setLibraryName(String libNam)
          Sets the possible values lirary name.
 void setTableName(String tblNam)
          Sets the possible values table name.
 void setType(int type)
          Sets the possible values type.
 void setValue(String value)
          Sets the possible value's value field.
 boolean validate(ExecutingContext context)
          Validate this Row based on it's configuration and field values.
 
Methods inherited from class planetj.database.Row
add, add, addObject, addPropertyChangeListener, addPropertyChangeListener, addRowEventListener, addRowEventListeners, addTable, appendDisplayType, batchProcess, clearFields, clearTables, clearValidationException, clone, cloneRow, commitFieldValues, commitFieldValues, commitFieldValues, concatenateFieldFullLengthValues, concatenateFieldValues, containsField, copy, copyIntoRowFieldsWithCommonFieldNames, copyIntoRowFieldsWithCommonFieldNames, copyIntoRowFieldsWithCommonUsageIds, copyIntoRowFieldsWithGivenFieldNames, copyIntoRowFieldsWithGivenFieldNames, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, createRow, defaultMerge, delete, delete, delete, delete, deleteObject, divide, duplicateKey, equals, equals, equalsInstance, executeDistributedAction, fieldHasPossibleValuesSQLOperation, getAssociation, getAssociation, getAssociationByOperationUsageId, getAssociationOperation, getAttribute, getChildren, getColumnSpan, getCompleteRow, getCompleteRow, getConfigProperty, getCopiedFieldValues, getCSVRow, getCSVRow, getDatabaseRow, getDatabaseRow, getDeleteConfirmation, getDisplayValue, getDistributedRequestorURL, getExternalName, getExternalNames, getFDFData, getFDTable, getField, getField, getField, getFieldDefaultValue, getFieldDescriptor, getFieldDescriptor, getFieldDescriptor, getFieldDescriptorsWithUsage, getFieldDescriptorsWithUsageId, getFieldDescriptorWithUsageId, getFieldDisplayValue, getFieldNames, getFields, getFields, getFieldSets, getFieldSQLObject, getFieldsToDisplay, getFieldsToDisplayStrict, getFieldsToDisplayStrict, getFieldStyleClass, getFieldValue, getFieldWithUsageId, getHeaderText, getLibraryName, getMaxFieldLengths, getMaxFieldLengths, getMaxInsertRetries, getMetaDataSystemAlias, getNamed, getNamesOfUpdatedFields, getNavigationKey, getNavigationListKey, getPercentage, getPhysicalFieldNames, getPropertyGroup, getPropertyGroups, getPropertyGroups, getRowCollection, getRowDisplayAttributes, getRowDisplayAttributes, getRowKey, getSecuredTypeId, getSecuredTypeName, getSecurityType, getSQL, getSQLContext, getStaticAttribute, getSum, getSystemAlias, getTable, getTable, getTableName, getTables, getTimestamp, getUpdatedFields, getUserMessageForOperation, getUseWOWLibrary, getValidationExceptions, getValueAsBoolean, getValueAsByte, getValueAsDate, getValueAsDate, getValueAsDouble, getValueAsDouble, getValueAsFloat, getValueAsFullLengthString, getValueAsInt, getValueAsLong, getValueAsNumber, getValueAsNumber, getValueAsShort, getValueAsString, getValueAsString, getValueByUsageId, getValues, getXMLData, getXMLData, getXMLHeaderData, handleDistributed, hasChildRows, hasMultipleStyleClasses, hasPropertyChangeListeners, insert, insert, insert, insert, is, isARow, isARowCollection, isChanged, isChangedRealTime, isChangedSinceLastCheck, isCloneNeeded, isContainsAllFields, isCopyable, isDeletable, isDistinctRow, isDistributed, isEditable, isEmpty, isFieldApplicable, isFieldAuthorizedForEdit, isFieldAuthorizedForRead, isFieldDisplayable, isFieldReadOnly, isFieldRequired, isFieldRequiredOnSearch, isFieldsChanged, isFieldValueNotBlank, isFieldValuesDatabaseDefaults, isGenerateChildRows, isGroupByRow, isGuarded, isHasColumnNames, isInARowCollection, isIncrementorResetAfterMaxInsertRetries, isInitializeDerivedFieldsEnabled, isJoinedRow, isKeyFieldsPresent, isLogicalRow, isMultipleDeleteEnabled, isPhysicalRow, isPropertyChangeEventsEnabled, isReturningFromPossibleValuesSearch, isRowKeyed, isSelectable, isUnionRow, isValidateRequired, isValidationRequiredForAutoPopulate, isViewable, iterator, merge, newField, newField, newField, newField, populate, postCreate, prepareForDetails, prepareFromFieldNames, removeNavigationKey, removePropertyChangeListener, removePropertyChangeListener, removeRowEventListener, removeRowEventListeners, replaceField, replaceFieldValues, rollbackChanges, setAttribute, setDistributed, setDistributedRequestorURL, setDistributedTargetURL, setFieldInitialValue, setFieldValue, setFieldValue, setFieldValue, setFieldValueAsString, setFieldValueAsString, setFieldValuesAsDate, setFieldValuesToDefault, setFieldValuesWithCommonFieldNames, setFieldValuesWithCommonFieldNames, setFieldValuesWithCommonUsageIds, setFieldValueToDefault, setMultipleDeleteEnabled, setNavigationKey, setPropertyChangeEventsEnabled, setPropertyGroups, setReturningFromPossibleValuesSearch, setSavepoint, setSavepoint, setSavepoint, setStaticAttribute, setTables, setTables, setUseWOWLibrary, setValidateRequired, setValues, size, splitAndSetFieldValues, statusChanged, toCSV, toDOC, toDOC, toFDF, toPDF, toPDF, toString, toUpperCase, toXML, transferDataTo, transferDataTo, update, update, update, update, updateObject, validate, validate, validateRowOperation
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PossibleValueRow

public PossibleValueRow()
Method Detail

getAlias

public String getAlias()
                throws CMException
Returns the possible value system alias for the field.

Returns:
String
CMException

getDeleteConfirmationMessage

public String getDeleteConfirmationMessage()
Description copied from class: Row
Get the delete confirmation message.

Overrides:
getDeleteConfirmationMessage in class Row

getDisplayValue

public String getDisplayValue()
                       throws CMException
Returns the possible display value for the value.

Returns:
String
CMException

getDisplayValueSQLType

public int getDisplayValueSQLType()
                           throws CMException
Returns the possible value's value sql type.

Returns:
int
CMException

getFieldName

public String getFieldName()
                    throws CMException
Returns the possible value field for the field.

Returns:
String
CMException

getKey

public String getKey()
              throws CMException
Returns the possible value key for the field.

Returns:
String
CMException

getLibrary

public String getLibrary()
                  throws CMException
Returns the possible value library for the field.

Returns:
String
CMException

getNameOfTable

public String getNameOfTable()
                      throws CMException
Returns the possible value table for the field.

Returns:
String
CMException

getType

public int getType()
Returns the possible value type the field.

Returns:
int

getValue

public String getValue()
                throws CMException
Returns the possible value for the field.

Returns:
String
CMException

setAlias

public void setAlias(String sysAlias)
              throws CMException
Sets the possible values system alias.

Parameters:
sysAlias - String
CMException

setDisplayValue

public void setDisplayValue(String dspValue)
                     throws CMException
Sets the possible value's display value field.

CMException

setDisplayValueSQLType

public void setDisplayValueSQLType(int sqlType)
                            throws CMException
Sets the possible value's value sql type.

Parameters:
sqlType - int
CMException

setFieldName

public void setFieldName(String fldNam)
                  throws CMException
Sets the possible values field name.

Parameters:
fldNam - String
CMException

setKey

public void setKey(String key)
            throws CMException
Sets the possible values key.

Parameters:
key - String
CMException

setLibraryName

public void setLibraryName(String libNam)
                    throws CMException
Sets the possible values lirary name.

Parameters:
libNam - String
CMException

setTableName

public void setTableName(String tblNam)
                  throws CMException
Sets the possible values table name.

Parameters:
tblNam - String
CMException

setType

public void setType(int type)
             throws CMException
Sets the possible values type.

Parameters:
type - int
CMException

setValue

public void setValue(String value)
              throws CMException
Sets the possible value's value field.

Parameters:
value - String
CMException

validate

public boolean validate(ExecutingContext context)
                 throws CMException
Validate this Row based on it's configuration and field values.

Overrides:
validate in class Row
Returns:
true, if Row and Fields are valid; false otherwise.
CMException