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.md.ui.wizards.aef.models.PredefinedItemModel<ChartOfAccountsPredefinedItem>
-
- com._1c.g5.v8.dt.md.ui.wizards.aef.models.PredefinedAccountModel
-
- All Implemented Interfaces:
ICompoundModel
,IModel
,IValidable
,IPredefinedAccountModel
,IPredefinedItemModel
public class PredefinedAccountModel extends PredefinedItemModel<ChartOfAccountsPredefinedItem> implements IPredefinedAccountModel
TheIPredefinedAccountModel
implementation that operates withIDtNewWizardContext
.
-
-
Constructor Summary
Constructors Constructor Description PredefinedAccountModel(IDtNewWizardContext<ChartOfAccountsPredefinedItem> context)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com._1c.g5.v8.dt.internal.md.ui.editors.pages.predefineddata.PredefinedAccountAccountingFlagsModel
getAccountingFlags()
TheIDynamicTableModel
model that represents theAccountingFlag
list.IEmfValueAttribute<AccountType,org.eclipse.emf.ecore.EObject>
getAccountType()
TheIValue
model that represents theChartOfAccountsPredefinedItem
account type.com._1c.g5.v8.dt.internal.md.ui.editors.pages.predefineddata.PredefinedAccountExtDimensionTypesModel
getExtDimensionTypes()
TheIDynamicTableModel
model that represents theExtDimensionType
list.IEmfValueAttribute<Boolean,org.eclipse.emf.ecore.EObject>
getOffBalance()
TheIValue
model that represents theChartOfAccountsPredefinedItem
off-balance.IValue<String>
getOrder()
TheIValue
model that represents theChartOfAccountsPredefinedItem
order.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.aef.models.PredefinedItemModel
getCode, getDescription, getName, getParent, getV8project
-
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.v8.dt.md.ui.wizards.aef.models.IPredefinedItemModel
getCode, getDescription, getName, getParent, getV8project
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Constructor Detail
-
PredefinedAccountModel
public PredefinedAccountModel(IDtNewWizardContext<ChartOfAccountsPredefinedItem> context)
Creates a new instance.- Parameters:
context
- theIDtNewWizardContext
, cannot benull
-
-
Method Detail
-
getAccountType
public IEmfValueAttribute<AccountType,org.eclipse.emf.ecore.EObject> getAccountType()
Description copied from interface:IPredefinedAccountModel
TheIValue
model that represents theChartOfAccountsPredefinedItem
account type.- Specified by:
getAccountType
in interfaceIPredefinedAccountModel
- Returns:
- the account type model, cannot be
null
forChartOfAccounts
predefined item
-
getOffBalance
public IEmfValueAttribute<Boolean,org.eclipse.emf.ecore.EObject> getOffBalance()
Description copied from interface:IPredefinedAccountModel
TheIValue
model that represents theChartOfAccountsPredefinedItem
off-balance.- Specified by:
getOffBalance
in interfaceIPredefinedAccountModel
- Returns:
- the off-balance model, cannot be
null
forChartOfAccounts
predefined item
-
getOrder
public IValue<String> getOrder()
Description copied from interface:IPredefinedAccountModel
TheIValue
model that represents theChartOfAccountsPredefinedItem
order.- Specified by:
getOrder
in interfaceIPredefinedAccountModel
- Returns:
- the order model, cannot be
null
forChartOfAccounts
predefined item
-
getAccountingFlags
public com._1c.g5.v8.dt.internal.md.ui.editors.pages.predefineddata.PredefinedAccountAccountingFlagsModel getAccountingFlags()
Description copied from interface:IPredefinedAccountModel
TheIDynamicTableModel
model that represents theAccountingFlag
list.- Specified by:
getAccountingFlags
in interfaceIPredefinedAccountModel
- Returns:
- the
AccountingFlag
list model, cannot benull
forChartOfAccounts
predefined item
-
getExtDimensionTypes
public com._1c.g5.v8.dt.internal.md.ui.editors.pages.predefineddata.PredefinedAccountExtDimensionTypesModel getExtDimensionTypes()
Description copied from interface:IPredefinedAccountModel
TheIDynamicTableModel
model that represents theExtDimensionType
list.- Specified by:
getExtDimensionTypes
in interfaceIPredefinedAccountModel
- Returns:
- the
ExtDimensionType
list model, cannot benull
-
-