Interface IDefinitionModel
- All Superinterfaces:
ICompoundModel
,IModel
,IValidable
- All Known Subinterfaces:
IChartAxisModel
,IChartPointModel
,IChartSeriesModel
- All Known Implementing Classes:
AbstractDefinitionModel
,BmChartAxisModel
,BmChartPointModel
,BmChartSeriesModel
,DefinitionModel
,DtGranularEditorPageDefinitionModel
,LabelAreaModel
The model that is used by components that creates their child by
The definition model extends the
IDefinition
s.
The definition model extends the
ICompoundModel
interface. So it keeps the models created by corresponding
component.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the givenmodel
to the current definition model.void
addRuleResultListener
(IRuleResultListener listener) Adds the rule result listener.Returns the container definition.Returns the collection of editing objects.Returns the rule result.Returns aIRuleResultProcessor
instance.void
removeModel
(IModel model) Removes the givenmodel
from the current definition model.void
removeRuleResultListener
(IRuleResultListener listener) Removes the rule result listener.void
setRuleResult
(IRuleResult ruleResult) Sets the rule result.void
setRuleResultProcessor
(IRuleResultProcessor ruleResultProcessor) Sets the specifiedruleResultProcessor
to the model.Methods inherited from interface com._1c.g5.aef2.models.ICompoundModel
getModels
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
-
Method Details
-
getDefinition
IContainerDefinition getDefinition()Returns the container definition.- Returns:
- the container definition, can be
null
.
-
getObjects
Collection<Object> getObjects()Returns the collection of editing objects.- Returns:
- the collection, never
null
.
-
getRuleResult
IRuleResult getRuleResult()Returns the rule result.- Returns:
- the rule result, never
null
. - See Also:
-
setRuleResult
Sets the rule result.- Parameters:
ruleResult
- the rule result, cannot benull
.- See Also:
-
addRuleResultListener
Adds the rule result listener.- Parameters:
listener
- the listener to add, cannot benull
.
-
removeRuleResultListener
Removes the rule result listener.- Parameters:
listener
- the listener to remove, cannot benull
.
-
getRuleResultProcessor
IRuleResultProcessor getRuleResultProcessor()Returns aIRuleResultProcessor
instance.- Returns:
IRuleResultProcessor
instance ornull
.
-
setRuleResultProcessor
Sets the specifiedruleResultProcessor
to the model.- Parameters:
ruleResultProcessor
- theIRuleResultProcessor
instance, cannot benull
.
-
addModel
Adds the givenmodel
to the current definition model.- Parameters:
model
- the model to add, cannot benull
.
-
removeModel
Removes the givenmodel
from the current definition model.- Parameters:
model
- the model to remove, cannot benull
.
-