Class Role

java.lang.Object
com.genologics.ri.role.Role
All Implemented Interfaces:
Linkable<Role>, Locatable, Serializable

public class Role extends Object implements Linkable<Role>, Serializable
The detailed representation of a Role
Since:
2.19
See Also:
  • Field Details

  • Constructor Details

    • Role

      public Role()
    • Role

      public Role(URI uri)
    • Role

      public Role(URI uri, String name)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getResearchers

      public List<ResearcherLink> getResearchers()
    • getPermissions

      public List<PermissionLink> getPermissions()
    • getBuiltIn

      public Boolean getBuiltIn()
    • setBuiltIn

      public void setBuiltIn(Boolean builtIn)
    • getUri

      public URI getUri()
      Description copied from interface: Locatable
      Get the URI of this object.
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI.
    • setUri

      public void setUri(URI uri)
      Description copied from interface: Locatable
      Set the URI of this object.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The new URI.