Package ru.bitel.bgbilling.plugins.news.common.bean

# Class News

java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.plugins.news.common.bean.News

All Implemented Interfaces:
  `java.io.Serializable`, `java.lang.Comparable<News>`, `GuiTitlable`, `Idable`, `ListItem`

    public class News
    extends IdTitle
    implements java.lang.Comparable<News>

See Also:
  Serialized Form

- ## Field Summary

  ### Fields inherited from class ru.bitel.common.model.IdTitle

  `title`

  ### Fields inherited from class ru.bitel.common.model.Id

  `id`

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `News()` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `int` | `compareTo​(News news)` |
  `java.lang.String` | `getBody()` |
  `java.util.List<java.lang.Integer>` | `getContractLabelIds()` |
  `java.util.Date` | `getDate()` |
  `org.w3c.dom.Document` | `getDocument()` |
  `java.lang.String` | `getText()` |
  `void` | `setBody​(java.lang.String text)` |
  `void` | `setContractLabelIds​(java.util.List<java.lang.Integer> labelIds)` |
  `void` | `setDate​(java.util.Date date)` |
  `void` | `setText​(java.lang.String text)` |
  `java.lang.String` | `toString()` |

  ### Methods inherited from class ru.bitel.common.model.IdTitle

  `copyTo, getGuiTitle, getTitle, setTitle, toIdTitle`

  ### Methods inherited from class ru.bitel.common.model.Id

  `copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface ru.bitel.common.model.ListItem

  `getId`

- ## Constructor Details

  - ### News

    public News()

- ## Method Details

  - ### getContractLabelIds

    public java.util.List<java.lang.Integer> getContractLabelIds()

  - ### setContractLabelIds

    public void setContractLabelIds​(java.util.List<java.lang.Integer> labelIds)

  - ### getDate

    public java.util.Date getDate()

  - ### setDate

    public void setDate​(java.util.Date date)

  - ### getBody

    public java.lang.String getBody()

  - ### setBody

    public void setBody​(java.lang.String text)

  - ### getText

    public java.lang.String getText()

  - ### setText

    public void setText​(java.lang.String text)

  - ### getDocument

    public org.w3c.dom.Document getDocument()

  - ### compareTo

    public int compareTo​(News news)
    Specified by:
      `compareTo` in interface `java.lang.Comparable<News>`

  - ### toString

    public java.lang.String toString()
    Overrides:
      `toString` in class `IdTitle`