public class MaxAttributeCfg extends Mbo implements MaxAttributeCfgRemote
See Configure Package description.
This is a system level object.
The key attributes for this object are ObjectName, AttributeName.
The attributes in this object are the same as in MaxAttribute,
plus some additional attributes in MaxAttributeCfg, which are described below.
Refer to MaxAttribute for a description of the common attributes.
| Attribute Name | Description |
|---|---|
| Changed | This is used by the configuration process.
On MaxAttributeCfg, the values of Changed can be as follows (they are set via
the business object, not directly via the UI).
|
| EAuditTbName | Non-persistent attribute; same as MaxObjectCfg.
|
| IsHandleColumn | Non-persistent attribute; identifies whether this columnname is referenced as handlecolumnname by another attribute in this set. |
| LangTableName | Non-persistent attribute; same as MaxObjectCfg.
|
| NextSequenceNo | Non-persistent attribute. If there is a SequenceName, then NextSequenceNo is the next value to be applied. |
| SequenceName | Non-persistent attribute. If this attribute has a related row in
MaxSequence, or the user wishes to create one,
this is the sequence name.
|
| ViewChanged | Non-persistent attribute. Will equal "Add", "Change", "Delete", or null, depending on the value of Changed. For display in the UI. |
| Modifier and Type | Field and Description |
|---|---|
boolean |
firstDefaultvalueGet |
MULTILANGCOPY, phantomList, phantomQueueALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER| Constructor and Description |
|---|
MaxAttributeCfg(MboSet ms)
Construct the MaxAttributeCfg object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
Add a mbo, defaulting the attributes shown below.
|
void |
appValidate()
Application validation routine.
|
void |
canDelete()
To mark for deletion, attribute must be userdefined and not already marked for deletion.
|
void |
canUndelete()
To undelete, "changed" attribute must equal "R".
|
void |
checkSameAsChild()
If this column is "sameas" something, get the Mbo that it is the same as.
|
void |
clearNonEssentialRelatedSets()
Similar to method on MaxObjectCfg.
|
boolean |
columnIsEmpty()
Identify whether this column is empty of data.
|
void |
createAutokeyMbos(java.lang.String autokeyname)
Called from FldMaxAttributeCfgAutokeyName to create Autokey mbos.
|
void |
delete(long accessModifier)
Set the value of "changed" to indicate deletion for maxattributecfg, maxsyskeys, and
maxsysindexes.
|
void |
deleteIndexesForAttribute()
Find indexes that include this attribute and mark them for deletion.
|
MboRemote |
getAuditColumn(boolean anyStatus)
If this is a base column, and the table is audited, get the corresponding audit column.
|
MboSetRemote |
getAuditColumnSet(boolean anyStatus)
If this is a base column, and the table is audited, get the set of
maxattributecfg for the audit table.
|
MboRemote |
getCurrentAttribute()
Return the MaxAttribute mbo for this attribute.
|
java.lang.String |
getCurrentNativeDatatype()
Get the current native datatype for this column, based on
metadata in maxattribute (not directly retrieved from native database).
|
java.lang.String |
getDefaultString()
Determine whether a default value can be determined for this attribute.
|
MboRemote |
getLangColumn(boolean anyStatus)
If this is a base column, and the column is translated, get the corresponding column from the language table.
|
MboSetRemote |
getLangColumnSet(boolean anyStatus)
If this is a base column, and the table is translatable, get the set of
maxattributecfg for the language table.
|
boolean |
getLocDefault()
Identifies the default value of "localizable" for this attribute.
|
MboValueData |
getMboValueData(java.lang.String attribute)
Defaultvalue is stored in the system's default locale, but must be displayed in the online user's locale.
|
java.lang.String |
getNativeDateDefault()
Get the system command for the current date.
|
java.lang.String |
getNewNativeDatatype()
Get the anticipated new native datatype for this column.
|
MboRemote |
getSameAsParent()
If this column is "sameas" something, get the Mbo that it is the same as.
|
java.lang.String[] |
getSequenceInfo()
Get the sequence name for this attribute, from maxsequence table, matching on
tablename and columnname.
|
MboRemote |
getSequenceMbo()
Return set of MaxSequence for owner MaxObjectCfg.
|
java.lang.String[] |
getValidateOrder()
Returns a String[] of field names.
|
boolean |
indexInvolvement()
Determine whether this column is involved in any indexes (native or otherwise)
that are not marked for deletion.
|
void |
init()
Inititialize fields to readonly or not.
|
boolean |
isLocAllowed()
Identifies whether "localizable" is allowed to be true for this attribute.
|
void |
langAndAuditMetadata(MboRemote baseCol)
When this is a new Mbo for a column on an audit or language table, and we have just copied values
from the base column to the new column, this method will override the values that
need to be different.
|
boolean |
nativeColumnExists()
Indicates whether the column exists on the native table.
|
boolean |
nullValueExists()
Identify whether this column has any null values.
|
boolean |
preventInternalChanges()
If this is "sameas" an internal attribute, then make maxtype, length, etc.
|
void |
sameAsMiscChecks(MboRemote sameasMbo,
boolean adjustYORN)
After the values for maxtype, length and scale have been set on this mbo (such as via
setValuesForSameAs or one of the field validation classes),
this method checks to see if various attributes are still valid for the new parameters. |
boolean |
sequenceExists(java.lang.String sequenceName,
boolean differentColumn)
Determine whether a row exists in MaxSequence for the given sequence name.
|
void |
setChanged()
If value of "changed" is not "R", reevaluate it and set new value.
|
void |
setLengthAndScaleReadonlyState()
Based on maxtype, determine whether length, scale, and ispositive
should be readonly or not, and set or clear accordingly.
|
void |
setSearchTypeReadonlyFlag()
Set Readonly flag for SearchType.
|
void |
setSearchTypeValue()
Set default value for SearchType.
|
void |
setValuesForSameAs(MboRemote sameasMbo,
boolean changeMustBe,
boolean mustBeValue)
Set values for maxtype, length and scale on this mbo to satisfy "sameas" processing.
|
protected boolean |
skipCopyField(MboValueInfo mvi)
Skip objectname and attributeno when copying mbo.
|
MboSetRemote |
smartFill(java.lang.String attribute,
java.lang.String value,
boolean exact)
If attribute is "autokeyname" then return null if MboSet is empty.
|
void |
undelete()
Set the value of "changed" to indicate undeletion for maxattributecfg, maxsyskeys,
and maxsysindexes.
|
void |
validateDefaultValue()
Validate defaultvalue.
|
void |
validateDomain(java.lang.String domainid)
Validate the specified domainid for this attribute.
|
void |
validateDomain(java.lang.String domainid,
java.lang.String errorTitle,
java.lang.String attrmaxtype,
int attrlength,
int attrscale,
int whatToValidate)
Given a domainid, validate it for this attribute.
|
void |
validateSearchType()
Validate searchtype.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, deleteDoclinks, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRecordType, getRelatedSets, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getTenantIdForNoMboRecordData, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAppLockEnabled, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isDuringInit, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, save, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDatabaseDefaultValues, setDatabaseDefaultValues, setDefaultValue, setDefaultValues, setDeleted, setDuringInit, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setRecordType, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setTenantIdForNoMboRecordData, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributespublic boolean firstDefaultvalueGet
MaxAttributeCfg.getMboValueData(String)public MaxAttributeCfg(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void init()
throws MXException
util to the set's value.init in class MboMXExceptionMaxAttributeCfg.setLengthAndScaleReadonlyState(),
MaxAttributeCfg.setSearchTypeReadonlyFlag(),
MaxAttributeCfg.getSequenceInfo(),
MaxAttributeCfg.preventInternalChanges()public void add()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| AttributeNo | maximum AttributeNo for this object + 1 |
| CanAutoNum | False |
| Changed | I |
| EAuditEnabled | False |
| ESigEnabled | False |
| IsHandleColumn | False |
| IsLDOwner | False |
| IsPositive | False |
| Length | Same length as Dummy_ALN in Dummy_Table |
| Localizable | True |
| MaxType | ALN |
| MLInUse | False |
| MLSupported | False |
| MustBe | False |
| Required | False |
| Restricted | False |
| Persistent | True for a table, False for a view |
| Scale | 0 |
| SearchType | value from setSearchTypeValue
|
| UserDefined | True |
| ViewChanged | value of MaxAttributeCfgSet
ADD
|
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.setSearchTypeValue(),
MaxAttributeCfg.setSearchTypeReadonlyFlag()public void canDelete()
throws MXException,
java.rmi.RemoteException
delete.canDelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
However, if the accessModifier equals DBCONFIG then super is called. The DBCONFIG flag is used only internally from MaxObjectCfg, never from the UI framework.
delete in interface MboRemotedelete in class MboaccessModifier - See Mbo delete.MXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.getAuditColumn(boolean)public void deleteIndexesForAttribute()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void canUndelete()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void undelete()
throws MXException,
java.rmi.RemoteException
undelete in interface MboRemoteundelete in class MboMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.setChanged(),
MaxSysIndexes.nativeIndexExists()protected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
skipCopyField in class Mbomvi - The MboValueInfo describing this attributejava.rmi.RemoteExceptionMXExceptionpublic void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.getSequenceInfo(),
MaxAttributeCfg.sequenceExists(java.lang.String, boolean),
MaxAttributeCfg.validateDomain(java.lang.String),
MaxAttributeCfg.propagate(boolean, boolean, boolean, boolean),
MaxAttributeCfg.getAuditColumnSet(boolean),
MaxAttributeCfg.getLangColumnSet(boolean),
MaxAttributeCfgSet.getLangOrAuditColumn(psdi.mbo.MboRemote, boolean),
MaxAttributeCfgSet.getLongDescriptionAttribute(psdi.mbo.MboRemote),
MaxAttributeCfgSet.addLongDescriptionRowToSet(psdi.mbo.MboRemote),
MaxAttributeCfg.langAndAuditMetadata(psdi.mbo.MboRemote),
MaxObjectCfg.adjustViews(psdi.mbo.MboRemote),
MaxAttributeCfg.convertDefaultvalueLocale(),
MaxAttributeCfg.setChanged()public MboSetRemote getAuditColumnSet(boolean anyStatus) throws MXException, java.rmi.RemoteException
anyStatus - True to return the audit set regardless of whether it's to be deleted, etc.
False to return the audit set only if it's not marked for deletion.MXExceptionjava.rmi.RemoteExceptionMaxObjectCfg.getAuditObjectCfg(java.lang.String, boolean)public MboSetRemote getLangColumnSet(boolean anyStatus) throws MXException, java.rmi.RemoteException
anyStatus - True to return the language set regardless of whether it's to be deleted, etc.
False to return the language set only if it's not marked for deletion.MXExceptionjava.rmi.RemoteExceptionMaxObjectCfg.getLangObjectCfg(java.lang.String, boolean)public MboRemote getAuditColumn(boolean anyStatus) throws MXException, java.rmi.RemoteException
anyStatus - True to return the audit column regardless of whether it's to be deleted, etc.
False to return the audit column only if it's not marked for deletion.MXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.getAuditColumnSet(boolean),
MaxAttributeCfgSet.getLangOrAuditColumn(psdi.mbo.MboRemote, boolean)public MboRemote getLangColumn(boolean anyStatus) throws MXException, java.rmi.RemoteException
anyStatus - True to return the language column regardless of whether it's to be deleted, etc.
False to return the language column only if it's not marked for deletion.MXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.getLangColumnSet(boolean),
MaxAttributeCfgSet.getLangOrAuditColumn(psdi.mbo.MboRemote, boolean)public void langAndAuditMetadata(MboRemote baseCol) throws MXException, java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| CanAutoNum | False |
| Changed | Same as baseCol |
| ClassName | null |
| DomainID | null |
| EAuditEnabled | False |
| ESigEnabled | False |
| IsLDOwner | False |
| MLSupported | False |
| MLInUse | False |
| PrimaryKeyColSeq | null |
| Required | False |
| SameAsObject, SameAsAttribute | If null on baseCol, then set equal to tbname and name of baseCol. Else use sameastable and sameascolumn of baseCol. |
baseCol - Maxattributecfg mbo for the base column.MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getSameAsParent() throws MXException, java.rmi.RemoteException
SAMEASPARENT.getSameAsParent in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.getSameAsParent()public void checkSameAsChild()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setValuesForSameAs(MboRemote sameasMbo, boolean changeMustBe, boolean mustBeValue) throws MXException, java.rmi.RemoteException
MaxAttributeCfgSet applySameAsValuesWithinThisTable
and various field validation classes.
This sets values with NOVALIDATION_AND_NOACTION because the referenced column has already been validated, and we need to avoid looping.
This method calls sameAsMiscChecks.
setValuesForSameAs in interface MaxAttributeCfgRemotesameasMbo - The Mbo that contains the maxtype, length and scale that we are going to
carry over to "this" mbo.changeMustBe - True to also change "mustbe", else FalsemustBeValue - The new value of "mustbe", which takes effect only if
changeMustBe is True.MXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.sameAsMiscChecks(psdi.mbo.MboRemote, boolean)public boolean preventInternalChanges()
throws MXException,
java.rmi.RemoteException
preventInternalChanges in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.preventInternalChanges()public void sameAsMiscChecks(MboRemote sameasMbo, boolean adjustYORN) throws MXException, java.rmi.RemoteException
setValuesForSameAs or one of the field validation classes),
this method checks to see if various attributes are still valid for the new parameters.
This method checks the following attributes. If the attribute is not null, then it is revalidated. If the validation fails, then the value is set to null.
sameAsMiscChecks in interface MaxAttributeCfgRemotesameasMbo - The mbo that this is the "sameas," used when adjustYORN is True.adjustYORN - True if step 3 above should be performed for YORN columns.MXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.setSearchTypeValue(),
MaxAttributeCfg.setSearchTypeReadonlyFlag()public void setChanged()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.getHashMap(),
MaxAttributeCfg.getOrigHashMap(),
Util.reEvaluateAttributeChanged(java.lang.String, java.util.HashMap, java.util.HashMap, java.lang.String, boolean)public java.lang.String[] getValidateOrder()
MbogetValidateOrder in class Mbopublic boolean isLocAllowed()
throws MXException
isLocAllowed in interface MaxAttributeCfgRemoteMXExceptionUtil.isLocAllowed(java.lang.String, java.lang.String, java.util.HashMap, java.util.HashMap)public boolean getLocDefault()
throws MXException
getLocDefault in interface MaxAttributeCfgRemoteMXExceptionUtil.getLocDefault(java.lang.String, java.lang.String, java.util.HashMap, java.util.HashMap)public boolean nativeColumnExists()
throws MXException,
java.rmi.RemoteException
nativeColumnExists in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionUtil.nativeColumnExists(java.lang.String, java.lang.String)public void setLengthAndScaleReadonlyState()
throws MXException,
java.rmi.RemoteException
setLengthAndScaleReadonlyState in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.setLengthAndScaleReadonlyState()public void validateDomain(java.lang.String domainid)
throws MXException,
java.rmi.RemoteException
validateDomain
to validate the domainid, maxtype, length and scale.validateDomain in interface MaxAttributeCfgRemotedomainid - The domainid to be validatedMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.validateDomain(String, String, String, int, int, int),
MaxAttributeCfg.isValueInDomain(java.lang.String, java.lang.String)public void validateDomain(java.lang.String domainid,
java.lang.String errorTitle,
java.lang.String attrmaxtype,
int attrlength,
int attrscale,
int whatToValidate)
throws MXException,
java.rmi.RemoteException
validateDomain in interface MaxAttributeCfgRemotedomainid - The domainid to be validated for this attribute.errorTitle - The attribute title to be used in the error message (if domainid is not valid).
This depends on the attributename we are checking.attrmaxtype - Normally this is just the maxtype of this attribute. It is provided in a
parameter so that this method can be called from field validation of maxtype.attrlength - Normally this is just the length of this attribute. It is provided in a
parameter so that this method can be called from field validation of length.attrscale - Normally this is just the scale of this attribute. It is provided in a
parameter so that this method can be called from field validation of scale.whatToValidate - Can equal the following:
validateDomain(String).
FldMaxAttributeCfgMaxType.
FldMaxAttributeCfgLength.
FldMaxAttributeCfgScale.
MXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.throwNotValid(java.lang.String, java.lang.String)public void validateDefaultValue()
throws MXException,
java.rmi.RemoteException
This method checks the following:
validateDefaultValue in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.getNativeDateDefault(),
MaxAttributeCfg.isValueInDomain(java.lang.String, java.lang.String),
ConfigureService.validateFormat(java.util.Locale, java.util.TimeZone, java.lang.String, java.lang.String, int, int, boolean),
MaxAttributeCfg.throwNotValid(java.lang.String, java.lang.String)public boolean indexInvolvement()
throws MXException,
java.rmi.RemoteException
indexInvolvement in interface MaxAttributeCfgRemote"configure" - "MiscUtilFailure"MXExceptionjava.rmi.RemoteExceptionUtil.nativeIndexExistsForColumn(java.lang.String, java.lang.String),
MaxObjectCfg.getIndexMetaForColumn(java.lang.String)public java.lang.String getCurrentNativeDatatype()
throws MXException,
java.rmi.RemoteException
getCurrentNativeDatatype in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.getCurrentAttribute(),
Util.getNativeType(java.lang.String, java.lang.String, int)public java.lang.String getNewNativeDatatype()
throws MXException,
java.rmi.RemoteException
getNewNativeDatatype in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionUtil.getNativeType(java.lang.String, java.lang.String, int)public boolean columnIsEmpty()
throws MXException,
java.rmi.RemoteException
columnIsEmpty in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionUtil.columnIsEmpty(java.lang.String, java.lang.String)public boolean nullValueExists()
throws MXException,
java.rmi.RemoteException
nullValueExists in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionUtil.nullValueExists(java.lang.String, java.lang.String)public MboRemote getCurrentAttribute() throws MXException, java.rmi.RemoteException
getCurrentAttribute in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.getCurrentAttribute()public java.lang.String getNativeDateDefault()
throws MXException,
java.rmi.RemoteException
getNativeDateDefault in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionUtil.getNativeDateDefault()public java.lang.String getDefaultString()
throws MXException,
java.rmi.RemoteException
getDefaultString in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionUtil.getDefaultString(String, String, String, String, String)public java.lang.String[] getSequenceInfo()
throws MXException,
java.rmi.RemoteException
sequenceExists.getSequenceInfo in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.getSequenceMbo()public MboRemote getSequenceMbo() throws MXException, java.rmi.RemoteException
getSequenceMbo in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfgSet.getSequenceSet()public boolean sequenceExists(java.lang.String sequenceName,
boolean differentColumn)
throws MXException,
java.rmi.RemoteException
getSequenceInfo.sequenceExists in interface MaxAttributeCfgRemotesequenceName - The name of the sequence to check for.differentColumn - If True, the sql statement will check for (tbname != this table or
columnname != this column) and sequence name = the specified name.
If False, sql will just check by sequence name.MXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.sequenceExists(java.lang.String, boolean)public void validateSearchType()
throws MXException,
java.rmi.RemoteException
validateSearchType in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionMaxObjectCfg.isTextSearchEnabled()public void setSearchTypeValue()
throws MXException,
java.rmi.RemoteException
setSearchTypeReadonlyFlag accordingly.setSearchTypeValue in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.setSearchTypeValue()public void setSearchTypeReadonlyFlag()
throws MXException,
java.rmi.RemoteException
setSearchTypeValue accordingly.setSearchTypeReadonlyFlag in interface MaxAttributeCfgRemoteMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.setSearchTypeReadonlyFlag()public void createAutokeyMbos(java.lang.String autokeyname)
throws MXException,
java.rmi.RemoteException
createAutokeyMbos in interface MaxAttributeCfgRemoteautokeyname - Autokey nameMXExceptionjava.rmi.RemoteExceptionMaxAttributeCfg.createAutokeyMbos(java.lang.String)public MboValueData getMboValueData(java.lang.String attribute) throws MXException, java.rmi.RemoteException
getMboValueData in interface MboRemotegetMboValueData in class Mboattribute - Attribute nameMXException - "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.java.rmi.RemoteExceptionMbo.getString(String),
ConfigureService.convertToLocale(java.lang.String, java.lang.String, java.util.Locale, java.util.TimeZone, java.util.Locale, java.util.TimeZone)public MboSetRemote smartFill(java.lang.String attribute, java.lang.String value, boolean exact) throws MXException, java.rmi.RemoteException
smartFill in interface MboRemotesmartFill in class Mbovalue - The QBE value to narrow down the lookup.MXExceptionjava.rmi.RemoteExceptionFldMaxAttributeCfgAutokeyNamepublic void clearNonEssentialRelatedSets()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException