Package com.ads.api.beans.kv
Class KeyValue
java.lang.Object
com.ads.api.beans.kv.KeyValue
This class provides some beans control methods related to KeyValue object and
its subKeyValues, key, value and its Audit Specifications etc.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKeyValue(KeyValue kv) voidvoidaddUserData(String key, Object value) Returns the auditHistory.Returns the cellType ValueintReturns the childId Value.Returns the component Value.com.ads.master.config.vo.MasterConfigReturns the configObject Value.Returns the defaultValue Value.Returns the dependencies ValuesReturns the description Value.intintReturns the displayPolicy ValueintReturns the fieldLength Value.Returns the fieldType Value.intReturns the formProperty Value.intReturns the gridProperty Value.intgetId()Returns the id Value.getKey()Returns the key Value.Returns the String Value.getKeyValue(String key) Returns the keyValues.intReturns the loadonStartup Value.booleanReturns the mandatory Value.com.ads.master.config.vo.MasterConfigDetailsReturns the masterConfig Value.getMode()Returns the mode Value.Returns the objectId Value.intReturns the objectLevel Value.Returns the objectStyle Value.Returns the objectTypeId Value.floatgetOrder()Returns the order Value.intReturns the parentId Value.Returns the parentKey ValueReturns the parentObjectId Value.Returns the parentObjectTypeId Value.intReturns the pivoTable Value.getPreference(int preference) Returns the prefType Value.intReturns the processingOrder Value.Returns the regularExpression Value.Deprecated.Since v8.3Returns the requestStatus Value.Returns the selectedValue Value.Returns the subKeyValues.getText()Returns the text Value.Returns the tooltip Value.getType()Returns the type Value.Returns the uiType Value.Returns the uiType Value.getUserData(String key) Returns the userData.getValue()Returns the Value.Returns the valueRefId Value.Returns the valueStyle Value.intReturns the visibility Value.booleanReturns the consolidated ValuebooleanReturns the enabled Value.booleanisExpand()Returns the expand ValuebooleanReturns the fetchOnlyParent Value.booleanReturns the formatRefValues Value.booleanReturns the fromChild Value.booleanReturns the fromParent Value.booleanisHtml()Returns the html Value.booleanReturns the htmlDisabled Value.booleanReturns the published Value.booleanisPurge()Returns the purge ValuebooleanReturns the systemBased Value.voidremoveUserData(KeyValue keyValue) voidsetAuditHistory(AuditHistory auditHistory) Method sets the auditHistory details as specified.voidsetCellType(String cellType) Method sets the cellType value.voidsetChildId(int childId) Method sets the childId value.voidsetComponent(String component) Method sets the component value.voidsetConfigObject(com.ads.master.config.vo.MasterConfig configObject) Method sets the configObject valuevoidsetConsolidated(boolean consolidated) Method sets the consolidated value.voidsetDefaultValue(String defaultValue) Method sets the defaultValue value.voidsetDependencies(List<KeyValue> dependencies) Method sets the dependencies as Specified.voidsetDescription(String description) Method sets the description value.voidsetDiscoverAssetProperty(int discoverAssetProperty) voidsetDisplayPolicy(int displayPolicy) Method sets the displayPolicy as Specified.voidsetEnabled(boolean enabled) Method sets the enabled value.voidsetExpand(boolean expand) Method sets the expand value as Specified.voidsetFetchOnlyParent(boolean fetchOnlyParent) Method sets the fetchOnlyParent value.voidsetFieldLength(int fieldLength) Method sets the fieldLength value.voidsetFieldType(String fieldType) Method sets the fieldType value.voidsetFormatRefValues(boolean formatRefValues) Method sets the formatRefValues value.voidsetFormProperty(int formProperty) Method sets the formProperty valuevoidsetFromChild(boolean fromChild) Method sets the fromChild value.voidsetFromParent(boolean fromParent) Method sets the fromParent value.voidsetGridProperty(int gridProperty) Method sets the gridProperty valuevoidsetHtml(boolean html) Method sets the html value.voidsetHtmlDisabled(boolean htmlDisabled) Method sets the htmlDisabled value.voidsetId(int id) Method sets the id value.voidMethod sets the key value as specifiedvoidsetKeyStyle(String keyStyle) Method sets the keyStyle value.voidsetKeyValues(List<KeyValue> keyValues) Method sets the keyValues.voidsetLoadonStartup(int loadonStartup) Method sets the loadonStartup value.voidsetMandatory(boolean mandatory) Method sets the mandatory value.voidsetMandatory(String mandatory) Deprecated.Since v8.3voidsetMasterConfig(com.ads.master.config.vo.MasterConfigDetails masterConfig) Method sets the masterConfig value.voidMethod sets the mode valuevoidsetObjectId(String objectId) Method sets the objectId value.voidsetObjectLevel(int objectLevel) Method sets the objectLevel valuevoidsetObjectStyle(String objectStyle) Method sets the objectStyle as specified.voidsetObjectTypeId(String objectTypeId) Method sets the objectTypeId value.voidsetOrder(float order) Method sets the order value.voidsetParentId(int parentId) Method sets the parentId value.voidsetParentKey(String parentKey) Method sets the parentKey as Specified.voidsetParentObjectId(String parentObjectId) Method sets the parentObjectId value.voidsetParentObjectTypeId(String parentObjectTypeId) Method sets the parentObjectTypeId value.voidsetPivoTable(int pivoTable) Method sets the pivoTable valuevoidsetPrefType(String prefType) Method sets the prefType value.voidsetProcessingOrder(int processingOrder) Method sets the processingOrder value.voidsetPublished(boolean published) Method sets the published value.voidsetPurge(boolean purge) Method sets the purge value as specified.voidsetRegularExpression(String reguralExpresion) Method sets the regularExpression value.voidsetReguralExpresion(String reguralExpresion) Deprecated.Since v8.3voidsetRequestStatus(RequestStatus requestStatus) Method sets the requestStatus value.voidsetSelectedValue(String selectedValue) Method sets the selectedValue.voidsetSubKeyValues(List<KeyValue> subKeyValues) Method sets the subKeyValues as Specified.voidsetSystemBased(boolean systemBased) Method sets the systemBased value.voidMethod sets the text value.voidsetTooltip(String tooltip) Method sets the tooltip valuevoidMethod sets the type value.voidsetUiType(KeyValue.UIType uiType) Method sets the uiType value.voidsetUIType(KeyValue.UIType uiType) Method sets the uiType value.voidsetUserData(Map<String, Object> userData) Method sets the userData as Specified.voidMethod sets the value as specifiedvoidsetValueRefId(String valueRefId) Method sets the valueRefId valuevoidsetValueStyle(String valueStyle) Method sets the valueStyle value.voidsetVisibility(int visibility) Method sets the visibility value.
-
Constructor Details
-
KeyValue
public KeyValue() -
KeyValue
-
KeyValue
-
KeyValue
-
-
Method Details
-
isPublished
public boolean isPublished()Returns the published Value.- Returns:
- published boolean.
-
setPublished
public void setPublished(boolean published) Method sets the published value.- Parameters:
published- boolean.
-
isFromParent
public boolean isFromParent()Returns the fromParent Value.- Returns:
- fromParent boolean.
-
setFromParent
public void setFromParent(boolean fromParent) Method sets the fromParent value.- Parameters:
fromParent- boolean.
-
isFromChild
public boolean isFromChild()Returns the fromChild Value.- Returns:
- fromChild boolean.
-
setFromChild
public void setFromChild(boolean fromChild) Method sets the fromChild value.- Parameters:
fromChild- boolean.
-
isFetchOnlyParent
public boolean isFetchOnlyParent()Returns the fetchOnlyParent Value.- Returns:
- fetchOnlyParent boolean.
-
setFetchOnlyParent
public void setFetchOnlyParent(boolean fetchOnlyParent) Method sets the fetchOnlyParent value.- Parameters:
fetchOnlyParent- boolean.
-
isSystemBased
public boolean isSystemBased()Returns the systemBased Value.- Returns:
- systemBased boolean.
-
setSystemBased
public void setSystemBased(boolean systemBased) Method sets the systemBased value.- Parameters:
systemBased- boolean.
-
isEnabled
public boolean isEnabled()Returns the enabled Value.- Returns:
- enabled boolean.
-
setEnabled
public void setEnabled(boolean enabled) Method sets the enabled value.- Parameters:
enabled- boolean.
-
getId
public int getId()Returns the id Value.- Returns:
- id int.
-
setId
public void setId(int id) Method sets the id value.- Parameters:
id- int.
-
getParentId
public int getParentId()Returns the parentId Value.- Returns:
- parentId int.
-
setParentId
public void setParentId(int parentId) Method sets the parentId value.- Parameters:
parentId- int.
-
getChildId
public int getChildId()Returns the childId Value.- Returns:
- childId int.
-
setChildId
public void setChildId(int childId) Method sets the childId value.- Parameters:
childId- int.
-
getKey
Returns the key Value.- Returns:
- key String.
-
setKey
Method sets the key value as specified- Parameters:
key- String.
-
getValue
Returns the Value.- Returns:
- value String.
-
setValue
Method sets the value as specified- Parameters:
value- String.
-
getObjectId
Returns the objectId Value.- Returns:
- objectId String.
-
setObjectId
Method sets the objectId value.- Parameters:
objectId- String.
-
getObjectTypeId
Returns the objectTypeId Value.- Returns:
- objectTypeId String.
-
setObjectTypeId
Method sets the objectTypeId value.- Parameters:
objectTypeId- String.
-
getParentObjectId
Returns the parentObjectId Value.- Returns:
- parentObjectId String.
-
setParentObjectId
Method sets the parentObjectId value.- Parameters:
parentObjectId- String.
-
getParentObjectTypeId
Returns the parentObjectTypeId Value.- Returns:
- parentObjectTypeId String.
-
setParentObjectTypeId
Method sets the parentObjectTypeId value.- Parameters:
parentObjectTypeId- String.
-
getDescription
Returns the description Value.- Returns:
- description String.
-
setDescription
Method sets the description value.- Parameters:
description- String.
-
getUIType
Returns the uiType Value.- Returns:
- uiType UIType.
-
setUIType
Method sets the uiType value.- Parameters:
uiType- UIType.
-
getUiType
Returns the uiType Value.- Returns:
- uiType UIType.
-
setUiType
Method sets the uiType value.- Parameters:
uiType- UIType.
-
setMandatory
public void setMandatory(boolean mandatory) Method sets the mandatory value.- Parameters:
mandatory- boolean.
-
setMandatory
Deprecated.Since v8.3- Parameters:
mandatory-
-
getMandatory
public boolean getMandatory()Returns the mandatory Value.- Returns:
- mandatory String.
-
getReguralExpresion
Deprecated.Since v8.3- Parameters:
reguralExpresion-
-
setReguralExpresion
Deprecated.Since v8.3- Parameters:
reguralExpresion-
-
getRegularExpression
Returns the regularExpression Value.- Returns:
- regularExpression String.
-
setRegularExpression
Method sets the regularExpression value.- Parameters:
regularExpression- String.
-
getOrder
public float getOrder()Returns the order Value.- Returns:
- order float.
-
setOrder
public void setOrder(float order) Method sets the order value.- Parameters:
order- float.
-
isPurge
public boolean isPurge()Returns the purge Value- Returns:
- the purge - boolean
-
setPurge
public void setPurge(boolean purge) Method sets the purge value as specified.- Parameters:
purge- boolean
-
getProcessingOrder
public int getProcessingOrder()Returns the processingOrder Value.- Returns:
- processingOrder int.
-
setProcessingOrder
public void setProcessingOrder(int processingOrder) Method sets the processingOrder value.- Parameters:
processingOrder- int.
-
getFieldType
Returns the fieldType Value.- Returns:
- fieldType String.
-
setFieldType
Method sets the fieldType value.- Parameters:
fieldType- String.
-
getFieldLength
public int getFieldLength()Returns the fieldLength Value.- Returns:
- fieldLength String.
-
setFieldLength
public void setFieldLength(int fieldLength) Method sets the fieldLength value.- Parameters:
fieldLength- String.
-
getComponent
Returns the component Value.- Returns:
- component String.
-
setComponent
Method sets the component value.- Parameters:
component- String.
-
getKeyStyle
Returns the String Value.- Returns:
- String String.
-
setKeyStyle
Method sets the keyStyle value.- Parameters:
keyStyle- String.
-
getValueStyle
Returns the valueStyle Value.- Returns:
- valueStyle String.
-
setValueStyle
Method sets the valueStyle value.- Parameters:
valueStyle- String.
-
getDefaultValue
Returns the defaultValue Value.- Returns:
- defaultValue String.
-
setDefaultValue
Method sets the defaultValue value.- Parameters:
defaultValue- String.
-
getKeyValues
Returns the keyValues.- Returns:
- keyValues list.
-
setKeyValues
Method sets the keyValues.- Parameters:
keyValues- list.
-
addKeyValue
-
addSubKeyValue
-
getKeyValue
-
getUserData
-
setUserData
Method sets the userData as Specified.- Parameters:
userData- String
-
getUserData
Returns the userData.- Returns:
- the userData String.
-
addUserData
-
removeUserData
-
getCellType
Returns the cellType Value- Returns:
- the cellType String.
-
setCellType
Method sets the cellType value.- Parameters:
cellType- String
-
isConsolidated
public boolean isConsolidated()Returns the consolidated Value- Returns:
- the consolidated boolean.
-
setConsolidated
public void setConsolidated(boolean consolidated) Method sets the consolidated value.- Parameters:
consolidated- boolean
-
isExpand
public boolean isExpand()Returns the expand Value- Returns:
- the expand boolean.
-
setExpand
public void setExpand(boolean expand) Method sets the expand value as Specified.- Parameters:
expand- boolean
-
getDisplayPolicy
public int getDisplayPolicy()Returns the displayPolicy Value- Returns:
- the displayPolicy int.
-
setDisplayPolicy
public void setDisplayPolicy(int displayPolicy) Method sets the displayPolicy as Specified.- Parameters:
displayPolicy- int
-
getParentKey
Returns the parentKey Value- Returns:
- the parentKey String.
-
setParentKey
Method sets the parentKey as Specified.- Parameters:
parentKey- String
-
getDependencies
Returns the dependencies Values- Returns:
- the dependencies list.
-
setDependencies
Method sets the dependencies as Specified.- Parameters:
dependencies- list
-
getSubKeyValues
Returns the subKeyValues.- Returns:
- the subKeyValues list
-
setSubKeyValues
Method sets the subKeyValues as Specified.- Parameters:
subKeyValues- list
-
getVisibility
public int getVisibility()Returns the visibility Value.- Returns:
- visibility int
-
setVisibility
public void setVisibility(int visibility) Method sets the visibility value.- Parameters:
visibility- int
-
getText
Returns the text Value.- Returns:
- text String
-
setText
Method sets the text value.- Parameters:
text- String
-
getPrefType
Returns the prefType Value.- Returns:
- prefType String
-
setPrefType
Method sets the prefType value.- Parameters:
prefType- String
-
getType
Returns the type Value.- Returns:
- type String
-
setType
Method sets the type value.- Parameters:
type- String
-
getSelectedValue
Returns the selectedValue Value.- Returns:
- selectedValue String
-
setSelectedValue
Method sets the selectedValue.- Parameters:
selectedValue- String
-
getObjectStyle
Returns the objectStyle Value.- Returns:
- objectStyle String
-
setObjectStyle
Method sets the objectStyle as specified.- Parameters:
objectStyle- String
-
isHtml
public boolean isHtml()Returns the html Value.- Returns:
- html boolean
-
setHtml
public void setHtml(boolean html) Method sets the html value.- Parameters:
html- boolean
-
isHtmlDisabled
public boolean isHtmlDisabled()Returns the htmlDisabled Value.- Returns:
- the htmlDisabled boolean
-
setHtmlDisabled
public void setHtmlDisabled(boolean htmlDisabled) Method sets the htmlDisabled value.- Parameters:
htmlDisabled- boolean
-
isFormatRefValues
public boolean isFormatRefValues()Returns the formatRefValues Value.- Returns:
- the formatRefValues boolean
-
setFormatRefValues
public void setFormatRefValues(boolean formatRefValues) Method sets the formatRefValues value.- Parameters:
formatRefValues- boolean
-
getLoadonStartup
public int getLoadonStartup()Returns the loadonStartup Value.- Returns:
- the loadonStartup int
-
setLoadonStartup
public void setLoadonStartup(int loadonStartup) Method sets the loadonStartup value.- Parameters:
loadonStartup- int
-
getPreference
-
getMasterConfig
public com.ads.master.config.vo.MasterConfigDetails getMasterConfig()Returns the masterConfig Value.- Returns:
- the masterConfig MasterConfigDetails.
-
setMasterConfig
public void setMasterConfig(com.ads.master.config.vo.MasterConfigDetails masterConfig) Method sets the masterConfig value.- Parameters:
masterConfig- MasterConfigDetails
-
getRequestStatus
Returns the requestStatus Value.- Returns:
- the requestStatus RequestStatus.
-
setRequestStatus
Method sets the requestStatus value.- Parameters:
requestStatus- RequestStatus
-
getMode
Returns the mode Value.- Returns:
- mode String.
-
setMode
Method sets the mode value- Parameters:
mode- String.
-
getValueRefId
Returns the valueRefId Value.- Returns:
- valueRefId String.
-
setValueRefId
Method sets the valueRefId value- Parameters:
valueRefId- String.
-
getConfigObject
public com.ads.master.config.vo.MasterConfig getConfigObject()Returns the configObject Value.- Returns:
- configObject MasterConfig.
-
setConfigObject
public void setConfigObject(com.ads.master.config.vo.MasterConfig configObject) Method sets the configObject value- Parameters:
configObject- MasterConfig.
-
getTooltip
Returns the tooltip Value.- Returns:
- tooltip String
-
setTooltip
Method sets the tooltip value- Parameters:
tooltip- String
-
getAuditHistory
Returns the auditHistory.- Returns:
- auditHistory AuditHistory
-
setAuditHistory
Method sets the auditHistory details as specified.- Parameters:
auditHistory- AuditHistory.
-
getObjectLevel
public int getObjectLevel()Returns the objectLevel Value.- Returns:
- objectLevel int
-
setObjectLevel
public void setObjectLevel(int objectLevel) Method sets the objectLevel value- Parameters:
objectLevel- int
-
getFormProperty
public int getFormProperty()Returns the formProperty Value.- Returns:
- formProperty int
-
setFormProperty
public void setFormProperty(int formProperty) Method sets the formProperty value- Parameters:
formProperty- int
-
getGridProperty
public int getGridProperty()Returns the gridProperty Value.- Returns:
- gridProperty int
-
setGridProperty
public void setGridProperty(int gridProperty) Method sets the gridProperty value- Parameters:
gridProperty- int
-
getPivoTable
public int getPivoTable()Returns the pivoTable Value.- Returns:
- pivoTable int
-
setPivoTable
public void setPivoTable(int pivoTable) Method sets the pivoTable value- Parameters:
pivoTable- int
-
getDiscoverAssetProperty
public int getDiscoverAssetProperty() -
setDiscoverAssetProperty
public void setDiscoverAssetProperty(int discoverAssetProperty)
-