Class PredefinedItemModel<M extends PredefinedItem>
- 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<M>
-
- All Implemented Interfaces:
ICompoundModel
,IModel
,IValidable
,IPredefinedItemModel
- Direct Known Subclasses:
PredefinedAccountModel
,PredefinedCalculationTypeModel
,PredefinedCharacteristicTypeModel
public class PredefinedItemModel<M extends PredefinedItem> extends CompoundModel implements IPredefinedItemModel
TheIPredefinedItemModel
implementation that operates withIDtNewWizardContext
.
-
-
Constructor Summary
Constructors Constructor Description PredefinedItemModel(IDtNewWizardContext<M> context)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmfCodeModel
getCode()
IValue<String>
getDescription()
IValue<String>
getName()
org.eclipse.emf.ecore.EObject
getParent()
Returns thePredefinedItem
model parent.IV8Project
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.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Constructor Detail
-
PredefinedItemModel
public PredefinedItemModel(IDtNewWizardContext<M> context)
Creates a new instance.- Parameters:
context
- theIDtNewWizardContext
, cannot benull
-
-
Method Detail
-
getCode
public EmfCodeModel getCode()
- Specified by:
getCode
in interfaceIPredefinedItemModel
- Returns:
- the
EmfCodeModel
model that represents the predefined item code.
-
getDescription
public IValue<String> getDescription()
- Specified by:
getDescription
in interfaceIPredefinedItemModel
- Returns:
- the
IValue
model that represents the description.
-
getName
public IValue<String> getName()
- Specified by:
getName
in interfaceIPredefinedItemModel
- Returns:
- the
IValue
model that represents the name.
-
getParent
public org.eclipse.emf.ecore.EObject getParent()
Description copied from interface:IPredefinedItemModel
Returns thePredefinedItem
model parent.- Specified by:
getParent
in interfaceIPredefinedItemModel
- Returns:
- the
PredefinedItem
model parent, nevernull
-
getV8project
public IV8Project getV8project()
- Specified by:
getV8project
in interfaceIPredefinedItemModel
- Returns:
- the
IV8Project
object.
-
-