ItemBean (gCube Pick Item Widget 1.1.1-SNAPSHOT API)
Date: 2016-06-30

org.gcube.portlets.widgets.pickitem.shared

## Class ItemBean

- java.lang.Object
- - org.gcube.portlets.widgets.pickitem.shared.ItemBean

- All Implemented Interfaces:
    Serializable

      public class ItemBean
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ItemBean()`
    `ItemBean(String id, String teamName)` Use it when the Item represents a group of users (namely a team).
    `ItemBean(String id, String username, String fullName, String thumbnailURL)` Use it when the Item represents a user.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAlternativeName()`
    `String` | `getId()`
    `String` | `getName()`
    `String` | `getThumbnailURL()`
    `boolean` | `isItemGroup()`
    `void` | `setAlternativeName(String altname)`
    `void` | `setId(String id)`
    `void` | `setItemGroup(boolean isItemGroup)`
    `void` | `setName(String name)`
    `void` | `setThumbnailURL(String thumbnailURL)`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### ItemBean

          public ItemBean()

    - #### ItemBean

          public ItemBean(String id,
                  String username,
                  String fullName,
                  String thumbnailURL)

      Use it when the Item represents a user.
      Parameters:
        `id` -
        `username` -
        `fullName` -
        `thumbnailURL` -

    - #### ItemBean

          public ItemBean(String id,
                  String teamName)

      Use it when the Item represents a group of users (namely a team).
      Parameters:
        `id` -
        `teamName` -

  - ### Method Detail

    - #### isItemGroup

          public boolean isItemGroup()

    - #### setItemGroup

          public void setItemGroup(boolean isItemGroup)

    - #### getId

          public String getId()

    - #### setId

          public void setId(String id)

    - #### getName

          public String getName()

    - #### setName

          public void setName(String name)

    - #### getAlternativeName

          public String getAlternativeName()

    - #### setAlternativeName

          public void setAlternativeName(String altname)

    - #### getThumbnailURL

          public String getThumbnailURL()

    - #### setThumbnailURL

          public void setThumbnailURL(String thumbnailURL)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2016. All Rights Reserved.