Class IdTitle

java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
All Implemented Interfaces:
Serializable, GuiTitlable, Idable, ListItem
Direct Known Subclasses:
AbstractEntity, AbstractGeographicCode, AdditionalContractAction, AssistantAction, AssistantActionItem, AttributeType, BalanceBaseType, BankAccount, BGInstalledModule, BGModule, BGSAction, BGSActionGroup, BillLink, BonusPaymentType, Bot, BotDialog, BotDialogElement, BotDialogGroup, Channel, ChannelType, City, CityItem, ClosedSormContract, ConfigData, Configuration, ContactType, Contract, Contract, ContractGroup, ContractIdTitleComment, ContractLabelItem, ContractNote, ContractNotification, ContractParameterGroupName, ContractParameterPref, ContractPatternNamedNumber, ContractSubPanelLog, ContractSubPanelManage, ContractTariffEntry, CostMap, Country, DashboardItem, Dealer, Dealer, DefaultTreeNode, DeviceGroup, DeviceTypeConfig, DialogProcessingWrapper, DialUpNAS, Dispatch, DispatchMessage, DocType, Document, DocumentJournal, DocumentPattern, DocumentStatus, DocumentType, EntitySpec, EntitySpecAttr, EntitySpecAttrListItem, EventScriptLink, EventType, FileInfo, GlobalScriptLink, InetInterface, InstalledInstanceModule, IsoObject, IsoObjectType, LightweightTaskData, MegogoContractSubscription, MegogoContractTryAndBuy, MegogoSubscription, MegogoTryAndBuy, MenuItem, Message, MobiServiceCode, MobNews, MQEvent, MQServer, News, NumerationPool, PackerKit, PackerOptionLibrary, Packet, PermissionKit, PermissionKitItem, Printer, Product, ProductCategory, ProductSpecActivationMode, RangeMap, RangeMapItem, Ratio, ReserveType, Role, RoleItem, RunTelTariff, SBPilotTerminal, Script, SenderType, Service, SmartHousePackageBase, SormProject, Source, Status, Subscriber, SubscriptionMode, SubscriptionType, SubscriptionType, Tag, TariffAVD, TariffGroup, TariffItem, TariffLabelItem, TariffOption, TariffOptionActivateMode, TariffPlan, TariffPlanData, TrafficRangeSpec, TrafficType, TrafficTypeLink, User, UserDevice, UserGroup, UserRightRule, VlanResource, VoiceCostMap, VoiceDestination, VoiceOperator, VoiceOption, VoiceZone, VoiceZoneMap, WebMenuItem, Zone

public class IdTitle extends Id implements ListItem, GuiTitlable
Класс - предок для всех bean, имеющих id и title.
Поддерживает JAXB сериализацию/десериализацию.
Successor для ListItem.
See Also:
  • Field Details

    • title

      protected String title
      Название (описание) объекта
  • Constructor Details

    • IdTitle

      public IdTitle()
    • IdTitle

      public IdTitle(int id, String title)
  • Method Details

    • getTitle

      public String getTitle()
      Возвращает название (описание) объекта
      Specified by:
      getTitle in interface ListItem
    • setTitle

      public void setTitle(String title)
      Устанавливает название (описание) объекта
      Parameters:
      value - название (описание объекта)
    • toString

      public String toString()
      Overrides:
      toString in class Id
    • getGuiTitle

      public String getGuiTitle()
      Description copied from interface: GuiTitlable
      Строка - имя объекта. Скорее всего уникальная. Используется в комбобоксах, например, итд.
      Specified by:
      getGuiTitle in interface GuiTitlable
      Returns:
      Строка - представление объекта.
    • toIdTitle

      public IdTitle toIdTitle()