ru.bitel.bgbilling.kernel.admin.news.common.bean

## Class News

- java.lang.Object
- - ru.bitel.common.model.Id
  - - ru.bitel.common.model.IdTitle
    - - ru.bitel.bgbilling.kernel.admin.news.common.bean.News

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<News>, 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 and Description
    `News()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(News news)`
    `java.lang.String` | `getBody()`
    `java.util.Date` | `getDate()`
    `org.w3c.dom.Document` | `getDocument()`
    `long` | `getGroups()`
    `java.lang.String` | `getText()`
    `void` | `setBody(java.lang.String text)`
    `void` | `setDate(java.util.Date date)`
    `void` | `setGroups(long group)`
    `void` | `setText(java.lang.String text)`
    `java.lang.String` | `toString()`

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

      `getTitle, setTitle`

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

      `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 Detail

    - #### News

          public News()

  - ### Method Detail

    - #### getGroups

          public long getGroups()

    - #### setGroups

          public void setGroups(long group)

    - #### 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`