Package com._1c.g5.aef2.models.value
Interface IValue<T>
- All Superinterfaces:
IModel,IValidable
- All Known Subinterfaces:
IAddInModel,IAddressingAttributeModel,IAdjustableBooleanModel,IAggregatesModel,IBaseBmHandlerNameModel,IBmCommonAttributeDataSeparationModel,IBorderValueModel,ICharacteristicsDescriptionDataPathModel<T>,ICharacteristicsDescriptionFieldModel<T>,IChartColorPaletteDescriptionModel,IChartLineModel,IChartReferenceBandsModelValue,IChartReferenceLinesModelValue,IChartScaleModel,ICodeModel<O>,IColorModel,ICommandChooserModel,IEmfTreeToSingleItemSelectionModel<T,,O> IEmfValueAttribute<T,,O> IEmfValueSelectionModel<T,,O> IEventSubscriptionEventsModel,IEventSubscriptionHandlerNameModel,IFontSelectionModel,IFormAttributeModel,IFormConditionalAppearanceModel,IFormDataPathModel,IFormDynamicListQueryModel,IFormGroupListModel,IFormPagesRepresentationModelValue,IFormTableNameModel,IFormTableNameValueModel,IFormTypeLinkModel,IFormValue<TValue,,TSelection> IGaugeChartQualityBandsModelValue,IGeographicalCoordinatesSelectionModel,IGraphicalSchemeLineModel,IGraphicalSchemeValue<TValue,,TSelection> IHandlerExtensionModel<T>,IHandlerModel<T>,IHandlerModel<T>,IHandlerModel,ILabelAreaModel,IMdPictureModel,IMdTypeLinkModel,INullableChartLineModel,IOpenMdHelpModel,IPictureModel,IRadioGroupModel<T>,IRealPiePointModelValue,IRealStockSeriesModelValue,ISearchStringLocationModelValue,ISingleLanguageFormattedTextModel,ISingleLanguageModel,ISourceUrlModel<T>,ISpreadsheetLineModel,IStyleItemModel<T>,ITrendlineArrayModelValue,ITypeDescriptionExtensionModel,ITypeLinkModel<T,,U> IUnsettablePropertyFieldModel<T,,O> IUsedMobileApplicationFunctionalitiesModel,IUserSettingsGroupModel,IValueModel,IViewModelValue<T>
- All Known Implementing Classes:
AbstractInfobaseApplicationEditorModel,AddInModel,AddressingAttributeModel,AggregatesModel,BinaryDataModel,BmAdditionSourceModel,BmAdjustableBooleanGroupModel,BmAdjustableBooleanModel,BmBorderNoneToNullValue,BmBorderValue,BmButtonDefaultModel,BmCharacteristicsDescriptionDataPathModel,BmCharacteristicsDescriptionFieldModel,BmCharacteristicsDescriptionSelectionModel,BmCharacteristicsDescriptionValueModel,BmChartColorPaletteDescriptionModel,BmChartLineModel,BmChartReferenceBandsModelValue,BmChartReferenceLinesModelValue,BmChartScaleModelValue,BmCodeModel,BmColorModel,BmCommonAttributeDataSeparationModel,BmCommonModuleEnvironmentModel,BmConfigurationCompatibilityModeModel,BmDocumentButtonParameterListModel,BmDocumentJournalButtonParameterListModel,BmDocumentNumeratorValue,BmEnableContentChangeModel,BmEventSubscriptionEventsModel,BmEventSubscriptionHandlerNameModel,BmFilteringTreeToSingleItemSelectionModel,BmFontSelectionGroupModel,BmFontSelectionModel,BmFormAttributeModel,BmFormButtonDataPathModel,BmFormCheckBoxKindModelValue,BmFormConditionalAppearanceModel,BmFormDataPathModel,BmFormDynamicListModel,BmFormGroupListModel,BmFormItemTypeModel,BmFormPagesRepresentationModelValue,BmFormTableNameModel,BmFormTableNameValueModel,BmGaugeChartQualityBandsModelValue,BmGraphicalSchemeLineModel,BmHandlerModel,BmInformationRegisterWriteModeModel,BmInlineTaskValue,BmIntervalBoundModelValue,BmMdObjectNameModel,BmMdTypeLinkModel,BmNamedElementNameModel,BmNullableChartLineModel,BmOpenMdHelpModel,BmPictureModel,BmPredefinedItemNameModel,BmRealPiePointModelValue,BmRealPointCountValue,BmRealSeriesCountValue,BmRealStockSeriesModelValue,BmSearchStringLocationModelValue,BmSkipNullValue,BmSourceUrlModel,BmSpreadsheetDataFormModel,BmStyleItemTypeModel,BmTreeToSingleItemSelectionModel,BmTrendlineArrayModelValue,BmUnsettablePropertyFieldModel,BmUserSettingsGroupModel,BmValue,BmValueModel,BmValueSelectionModel,BmValueUsedMobileApplicationFunctionalitiesModel,BmVersionedValue,BmVersionedValueGroupBehavior,BorderStyleItemModel,ColorsGroupModel,ColorStyleItemModel,CommandActionExtensionModel,CommandActionModel,CommonAttributeAutoUsePropertyStateModel,CommonAttributeDataSeparationPropertyStateModel,CommonPictureContentTypeModel,ConfigurationStandaloneContentExchangeSettingsDialogModel.ExchangePlanModel,EmfBasedGroupValue,EmfBorderValue,EmfCharacteristicsDescriptionDataPathModel,EmfCharacteristicsDescriptionFieldModel,EmfCharacteristicsDescriptionSelectionModel,EmfCharacteristicsDescriptionValueModel,EmfChartColorPaletteDescriptionModel,EmfChartLineModel,EmfChartScaleModelValue,EmfCodeModel,EmfColorModel,EmfFontSelectionModel,EmfLabelAreaModelValue,EmfMdTypeLinkModel,EmfMoxelSpreadsheetLineModel,EmfNullableChartLineModel,EmfPictureModel,EmfSingleLanguageFormattedTextModel,EmfSingleLanguageModel,EmfStyleItemTypeModel,EmfTreeToSingleItemSelectionModel,EmfUnsettablePropertyFieldModel,EmfValue,EmfValueModel,EmfValueSelectionModel,EmfVersionedValue,EventHandlerExtensionModel,EventHandlerModel,EventHandlerModel,ExtendedConfigurationObjectPropertyStateModel,ExtendedConfigurationObjectSelectionModel,FontStyleItemModel,FormBmColorModel,FormBmCommandChooserModel,FormBmTypeLinkModel,FormBmValue,FormPropertyStateModel,FormTableNameValueGroupModel,GeographicalCoordinatesSelectionModel,GraphicalSchemeCaseValue,GraphicalSchemeItemValue,IBaseBmHandlerNameModel.BaseBmHandlerNameModel,InfobaseDebugPortModel,InfobaseProxyPasswordModel,InfobaseSettingsModel,InfobaseSynchronizationSettingsModel,InfobaseTypeModel,ISingleLanguageFormattedTextModel.SingleLanguageFormattedTextWorkingCopy,MdPictureModel,MobileApplicationPublicationDebugEnablementModel,NavigatorTreeDialogActionBarBmValue,NavigatorTreeDialogActionBarEmfValue,OpenIdUseAsProviderModel,OpenIdUseAuthModel,PathTransformerValue,PojoValue,PromptConfirmationOnRestructureModel,PropertyStateModel,PublicationLinkModel,SignOfUnfilledParentModel,SimpleGroupValue,StandardObjectSwitchingSourceValue,StandardObjectTypeLinkModel,StandardObjectValueModel,StandardObjectValueSelectionModel,StringTransformerValue,StyleItemModel,TypeDescriptionExtensionModel,UnfilledParentValueModel,Value,ValueWorkingCopy,ViewModelValue,WebServerTypeModel,XdtoObjectTextRefactoringModel
The value model. Value is like a variable but notifies about its
changes and it's also a
IModel.-
Method Summary
Modifier and TypeMethodDescriptionvoidaddValueListener(IValueListener<T> listener) Adds the value listener.get()booleanChecks the value for equality with the current stored value.voidremoveValueListener(IValueListener<T> listener) Removes the value listener.voidMethods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponentMethods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Method Details
-
get
T get()- Returns:
- the stored value.
-
set
- Parameters:
value- the value to set.
-
isEqual
Checks the value for equality with the current stored value.- Parameters:
other- the other value to check.- Returns:
trueif other value is equal to this value,falseotherwise.
-
createWorkingCopy
- Specified by:
createWorkingCopyin interfaceIModel- Returns:
- the model working copy or
nullif working copies is not supported by the model.
-
addValueListener
Adds the value listener.- Parameters:
listener- the listener to add.
-
removeValueListener
Removes the value listener.- Parameters:
listener- the listener to remove.
-