org.fourthline.cling.support.model.item

## Class TextItem

- java.lang.Object
- - org.fourthline.cling.support.model.DIDLObject
  - - org.fourthline.cling.support.model.item.Item
    - - org.fourthline.cling.support.model.item.TextItem

-     public class TextItem
      extends Item

  Author:
    Christian Bauer

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.fourthline.cling.support.model.DIDLObject

      `DIDLObject.Class, DIDLObject.Property<V>`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static DIDLObject.Class` | `CLASS`

    - ### Fields inherited from class org.fourthline.cling.support.model.item.Item

      `refID`

    - ### Fields inherited from class org.fourthline.cling.support.model.DIDLObject

      `clazz, creator, descMetadata, id, parentID, properties, resources, restricted, title, writeStatus`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TextItem()`
    `TextItem(Item other)`
    `TextItem(String id, Container parent, String title, String creator, Res... resource)`
    `TextItem(String id, String parentID, String title, String creator, Res... resource)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `PersonWithRole[]` | `getAuthors()`
    `Person[]` | `getContributors()`
    `String` | `getDate()`
    `String` | `getDescription()`
    `PersonWithRole` | `getFirstAuthor()`
    `Person` | `getFirstContributor()`
    `Person` | `getFirstPublisher()`
    `URI` | `getFirstRelation()`
    `String` | `getFirstRights()`
    `String` | `getLanguage()`
    `String` | `getLongDescription()`
    `Person[]` | `getPublishers()`
    `String` | `getRating()`
    `URI[]` | `getRelations()`
    `String[]` | `getRights()`
    `StorageMedium` | `getStorageMedium()`
    `TextItem` | `setAuthors(PersonWithRole[] persons)`
    `TextItem` | `setContributors(Person[] contributors)`
    `TextItem` | `setDate(String date)`
    `TextItem` | `setDescription(String description)`
    `TextItem` | `setLanguage(String language)`
    `TextItem` | `setLongDescription(String description)`
    `TextItem` | `setPublishers(Person[] publishers)`
    `TextItem` | `setRating(String rating)`
    `TextItem` | `setRelations(URI[] relations)`
    `TextItem` | `setRights(String[] rights)`
    `TextItem` | `setStorageMedium(StorageMedium storageMedium)`

    - ### Methods inherited from class org.fourthline.cling.support.model.item.Item

      `getRefID, setRefID`

    - ### Methods inherited from class org.fourthline.cling.support.model.DIDLObject

      `addDescMetadata, addProperties, addProperty, addResource, equals, getClazz, getCreator, getDescMetadata, getFirstProperty, getFirstPropertyValue, getFirstResource, getId, getLastProperty, getParentID, getProperties, getProperties, getPropertiesByNamespace, getPropertyValues, getResources, getTitle, getWriteStatus, hashCode, hasProperty, isRestricted, removeProperties, replaceFirstProperty, replaceProperties, setClazz, setCreator, setDescMetadata, setId, setParentID, setProperties, setResources, setRestricted, setTitle, setWriteStatus`

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

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

- - ### Field Detail

    - #### CLASS

          public static final DIDLObject.Class CLASS

  - ### Constructor Detail

    - #### TextItem

          public TextItem()

    - #### TextItem

          public TextItem(Item other)

    - #### TextItem

          public TextItem(String id,
                  Container parent,
                  String title,
                  String creator,
                  Res... resource)

    - #### TextItem

          public TextItem(String id,
                  String parentID,
                  String title,
                  String creator,
                  Res... resource)

  - ### Method Detail

    - #### getFirstAuthor

          public PersonWithRole getFirstAuthor()

    - #### getAuthors

          public PersonWithRole[] getAuthors()

    - #### setAuthors

          public TextItem setAuthors(PersonWithRole[] persons)

    - #### getDescription

          public String getDescription()

    - #### setDescription

          public TextItem setDescription(String description)

    - #### getLongDescription

          public String getLongDescription()

    - #### setLongDescription

          public TextItem setLongDescription(String description)

    - #### getLanguage

          public String getLanguage()

    - #### setLanguage

          public TextItem setLanguage(String language)

    - #### getStorageMedium

          public StorageMedium getStorageMedium()

    - #### setStorageMedium

          public TextItem setStorageMedium(StorageMedium storageMedium)

    - #### getDate

          public String getDate()

    - #### setDate

          public TextItem setDate(String date)

    - #### getFirstRelation

          public URI getFirstRelation()

    - #### getRelations

          public URI[] getRelations()

    - #### setRelations

          public TextItem setRelations(URI[] relations)

    - #### getFirstRights

          public String getFirstRights()

    - #### getRights

          public String[] getRights()

    - #### setRights

          public TextItem setRights(String[] rights)

    - #### getRating

          public String getRating()

    - #### setRating

          public TextItem setRating(String rating)

    - #### getFirstContributor

          public Person getFirstContributor()

    - #### getContributors

          public Person[] getContributors()

    - #### setContributors

          public TextItem setContributors(Person[] contributors)

    - #### getFirstPublisher

          public Person getFirstPublisher()

    - #### getPublishers

          public Person[] getPublishers()

    - #### setPublishers

          public TextItem setPublishers(Person[] publishers)

Copyright © 2014 4th Line GmbH, Switzerland. All Rights Reserved.