Functionality (VRE Definition Portlet 5.1.0-SNAPSHOT API)
Date: 2019-07-29

org.gcube.portlets.admin.vredefinition.shared

## Class Functionality

- java.lang.Object
- - org.gcube.portlets.admin.vredefinition.shared.Functionality

- All Implemented Interfaces:
    Serializable

      public class Functionality
      extends Object
      implements Serializable

  A functionality class element.
  Author:
    Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Functionality()` needed for serialization
    `Functionality(int id, String description, String name)`
    `Functionality(int id, String name, String description, boolean selected)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDescription()`
    `int` | `getId()`
    `String` | `getName()`
    `List<ResourceCategory>` | `getResources()`
    `List<Functionality>` | `getSubFunctionalities()`
    `boolean` | `isSelected()`
    `void` | `setDescription(String description)`
    `void` | `setId(int id)`
    `void` | `setName(String name)`
    `void` | `setResources(List<ResourceCategory> resourceCategories)`
    `void` | `setSelected(boolean selected)`
    `void` | `setSubFunctionalities(List<Functionality> subFunctionalities)`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### Functionality

          public Functionality()

      needed for serialization

    - #### Functionality

          public Functionality(int id,
                               String description,
                               String name)

      Parameters:
        `subFunctionalities` -
        `description` -
        `name` -

    - #### Functionality

          public Functionality(int id,
                               String name,
                               String description,
                               boolean selected)

  - ### Method Detail

    - #### getId

          public int getId()

    - #### setId

          public void setId(int id)

    - #### getSubFunctionalities

          public List<Functionality> getSubFunctionalities()

    - #### setSubFunctionalities

          public void setSubFunctionalities(List<Functionality> subFunctionalities)

    - #### getDescription

          public String getDescription()

    - #### setDescription

          public void setDescription(String description)

    - #### getName

          public String getName()

    - #### setName

          public void setName(String name)

    - #### getResources

          public List<ResourceCategory> getResources()

    - #### setResources

          public void setResources(List<ResourceCategory> resourceCategories)

    - #### isSelected

          public boolean isSelected()

    - #### setSelected

          public void setSelected(boolean selected)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2019. All Rights Reserved.