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, ActionExpressionData, AdditionalContractAction, AssistantAction, AssistantActionItem, AssistantMaster, AttributeType, BalanceBaseType, BankAccount, BGInstalledModule, BGModule, BGSActionGroup, BillLink, BonusPaymentType, Bot, BotDialog, BotDialogElement, BotDialogGroup, Channel, ChannelType, City, CityItem, ClosedSormContract, ConfigData, ConfigDataDto, Configuration, ContactType, Contract, Contract, ContractGroup, ContractIdTitleComment, ContractLabelItem, ContractNote, ContractNotification, ContractParameterGroupName, ContractParameterPref, ContractPatternNamedNumber, ContractSubPanelLog, ContractSubPanelManage, ContractTariffCounter, ContractTariffEntry, CostMap, Country, DashboardItem, Dealer, Dealer, DefaultTreeNode, DeviceGroup, DeviceTypeConfig, DialogProcessingWrapper, DialUpNAS, Dispatch, DispatchMessage, DocType, Document, Document, DocumentJournal, DocumentPattern, DocumentStatus, DocumentType, EntitySpec, EntitySpecAttr, EntitySpecAttrListItem, EntitySpecAttrMultiListItem, EntitySpecDTO, EventScriptLink, EventType, FileInfo, GarAddressHouse, GarAddressObject, GlobalScriptLink, IdTitleValue, InetInterface, InstalledInstanceModule, IsoObject, IsoObjectType, JmxAppItem, LightweightTaskData, ListItemSelected, ListValue, MegogoContractSubscription, MegogoContractTryAndBuy, MegogoSubscription, MegogoTryAndBuy, MenuItem, Message, MobiServiceCode, MobNews, MQEvent, MQServer, News, NewsItem, NotificationData, NumerationPool, ObjectType, PackerKit, PackerOptionLibrary, Packet, PermissionKit, PermissionKitItem, PersonalTariff, Printer, ProductSpecActivationMode, RangeMap, RangeMapItem, Ratio, RegisterCategory, RegisterExecutor, RegisterGroup, RegisterSubject, RequestRecordLog, ReserveType, Role, RoleItem, RSCMServiceDto, RunTelTariff, SBPilotTerminal, Script, SenderType, Service, ShopDirectoryItem, ShopItemType, ShopProductItem, ShopProductTreeItem, Signatory, SmartHousePackageBase, SoftLineProduct, SormProject, SotfLineProductCategory, 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, VoiceZoneCostMap, 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)