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
The
IPredefinedItemModel
implementation that operates with
IDtNewWizardContext
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
getName()
org.eclipse.emf.ecore.EObject
Returns thePredefinedItem
model parent.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
-
PredefinedItemModel
Creates a new instance.- Parameters:
context
- theIDtNewWizardContext
, cannot benull
-
-
Method Details
-
getCode
- Specified by:
getCode
in interfaceIPredefinedItemModel
- Returns:
- the
EmfCodeModel
model that represents the predefined item code.
-
getDescription
- Specified by:
getDescription
in interfaceIPredefinedItemModel
- Returns:
- the
IValue
model that represents the description.
-
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
- Specified by:
getV8project
in interfaceIPredefinedItemModel
- Returns:
- the
IV8Project
object.
-