Class PredefinedAccountModel
java.lang.Object
com._1c.g5.aef2.validators.Validable
com._1c.g5.aef2.models.Model
com._1c.g5.aef2.models.CompoundModel
com._1c.g5.v8.dt.internal.md.ui.editors.pages.predefineddata.PredefinedAccountModel
- All Implemented Interfaces:
ICompoundModel
,IModel
,IValidable
,IModelApiAwareModel
,IPredefinedAccountModel
IPredefinedAccountModel
implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns accounting flags model.Returns ext dimension types model.Returns the model API.Returns predefined account.void
setModelApi
(IModelApi modelApi) Sets the specified API to the model.void
setPredefinedAccount
(ChartOfAccountsPredefinedItem predefinedAccount) Sets predefined account.Methods inherited from class com._1c.g5.aef2.models.CompoundModel
addModel, dispose, getChange, getModels, isOnline, setComponent, validate
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, createWorkingCopy, discard, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, notifyModelChanged, notifyModelCommitted, removeModelListener, setOnline, toString
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, createWorkingCopy, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Constructor Details
-
PredefinedAccountModel
Creates new model.- Parameters:
chartOfAccounts
- , the chart of accounts, cannot benull
-
-
Method Details
-
getPredefinedAccount
Description copied from interface:IPredefinedAccountModel
Returns predefined account.- Specified by:
getPredefinedAccount
in interfaceIPredefinedAccountModel
- Returns:
- the predefined account, can be
null
.
-
setPredefinedAccount
Description copied from interface:IPredefinedAccountModel
Sets predefined account.- Specified by:
setPredefinedAccount
in interfaceIPredefinedAccountModel
- Parameters:
predefinedAccount
- the predefined account, can benull
.
-
setModelApi
Description copied from interface:IModelApiAwareModel
Sets the specified API to the model.- Specified by:
setModelApi
in interfaceIModelApiAwareModel
- Parameters:
modelApi
- the API, can benull
.
-
getModelApi
Description copied from interface:IModelApiAwareModel
Returns the model API.- Specified by:
getModelApi
in interfaceIModelApiAwareModel
- Returns:
- the model API or
null
if it is not set.
-
getAccountingFlagsModel
Description copied from interface:IPredefinedAccountModel
Returns accounting flags model.- Specified by:
getAccountingFlagsModel
in interfaceIPredefinedAccountModel
- Returns:
- the accounting flags model, cannot be
null
-
getExtDimensionTypesModel
Description copied from interface:IPredefinedAccountModel
Returns ext dimension types model.- Specified by:
getExtDimensionTypesModel
in interfaceIPredefinedAccountModel
- Returns:
- the ext dimension types model, cannot be
null
-