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

public interface IValue<T> extends IModel
The value model. Value is like a variable but notifies about its changes and it's also a IModel.
  • Method Details

    • get

      T get()
      Returns:
      the stored value.
    • set

      void set(T value)
      Parameters:
      value - the value to set.
    • isEqual

      boolean isEqual(T other)
      Checks the value for equality with the current stored value.
      Parameters:
      other - the other value to check.
      Returns:
      true if other value is equal to this value, false otherwise.
    • createWorkingCopy

      IValue<T> createWorkingCopy()
      Specified by:
      createWorkingCopy in interface IModel
      Returns:
      the model working copy or null if working copies is not supported by the model.
    • addValueListener

      void addValueListener(IValueListener<T> listener)
      Adds the value listener.
      Parameters:
      listener - the listener to add.
    • removeValueListener

      void removeValueListener(IValueListener<T> listener)
      Removes the value listener.
      Parameters:
      listener - the listener to remove.