Class DefinitionModel
java.lang.Object
com._1c.g5.aef2.validators.Validable
com._1c.g5.aef2.models.Model
com._1c.g5.aef2.standard.definitions.models.AbstractDefinitionModel
com._1c.g5.aef2.standard.definitions.models.DefinitionModel
- All Implemented Interfaces:
ICompoundModel,IModel,IDefinitionModel,IValidable
- Direct Known Subclasses:
LabelAreaModel
The default implementation of the
It keeps the
IDefinitionModel. It keeps the
IContainerDefinition instance and the unmodifiable collection of Objects as
the model objects.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefinitionModel(IContainerDefinition definition, Object... objects) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionfinal IContainerDefinitionReturns the container definition.final Collection<Object>Returns the collection of editing objects.Methods inherited from class com._1c.g5.aef2.standard.definitions.models.AbstractDefinitionModel
addModel, addRuleResultListener, dispose, getChange, getModels, getRuleResult, getRuleResultProcessor, handleRuleResultChanged, removeModel, removeRuleResultListener, setRuleResult, setRuleResultProcessor, toStringMethods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, createWorkingCopy, discard, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnlineMethods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validate, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com._1c.g5.aef2.models.ICompoundModel
getModelsMethods inherited from interface com._1c.g5.aef2.standard.definitions.models.IDefinitionModel
addModel, addRuleResultListener, getRuleResult, getRuleResultProcessor, removeModel, removeRuleResultListener, setRuleResult, setRuleResultProcessorMethods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, createWorkingCopy, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponentMethods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Constructor Details
-
DefinitionModel
Creates a new instance.- Parameters:
definition- theIContainerDefinitioninstance, cannot benull.objects- the objects, cannot benull.
-
-
Method Details
-
getDefinition
Description copied from interface:IDefinitionModelReturns the container definition.- Specified by:
getDefinitionin interfaceIDefinitionModel- Returns:
- the container definition, can be
null.
-
getObjects
Description copied from interface:IDefinitionModelReturns the collection of editing objects.- Specified by:
getObjectsin interfaceIDefinitionModel- Returns:
- the collection, never
null.
-