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, AssistantMaster, 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, Document, DocumentJournal, DocumentPattern, DocumentStatus, DocumentType, EntitySpec, EntitySpecAttr, EntitySpecAttrListItem, EntitySpecAttrMultiListItem, EventScriptLink, EventType, FileInfo, GlobalScriptLink, InetInterface, InstalledInstanceModule, IsoObject, IsoObjectType, JmxAppItem, LightweightTaskData, ListValue, MegogoContractSubscription, MegogoContractTryAndBuy, MegogoSubscription, MegogoTryAndBuy, MenuItem, Message, MobiServiceCode, MobNews, MQEvent, MQServer, News, NotificationData, NumerationPool, ObjectType, PackerKit, PackerOptionLibrary, Packet, PermissionKit, PermissionKitItem, PersonalTariff, Printer, Product, ProductCategory, ProductSpecActivationMode, RangeMap, RangeMapItem, Ratio, RequestRecordLog, ReserveType, Role, RoleItem, RSCMServiceDto, RunTelTariff, SBPilotTerminal, Script, SenderType, Service, ShopDirectoryItem, ShopItemType, ShopProductItem, ShopProductTreeItem, Signatory, SmartHousePackageBase, SormProject, Source, Status, Subscriber, SubscriptionMode, SubscriptionType, SubscriptionType, Tag, TariffAVD, TariffGroup, TariffItem, TariffLabelItem, TariffOption, TariffOptionActivateMode, TariffPlan, TariffPlanData, TariffVar, 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()
    • copyTo

      public void copyTo(IdTitle idTitle)