Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate
Class RepoRole

    java.lang.Object
      com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole

All Implemented Interfaces:
  AttributedObject, IdedObject, Role

    public class RepoRole

extends java.lang.Object
implements Role, IdedObject

Version:
  $Id: RepoRole.java 9116 2007-07-17 00:04:55Z sbirney $
Author:
  swood

Constructor Summary
`RepoRole()`

Method Summary
`void` | `addUser(User aUser)`
`void` | `copyFromClient(java.lang.Object obj, PersistentObjectResolver resolver)`
`boolean` | `equals(java.lang.Object other)`
`java.util.List` | `getAttributes()`
`long` | `getId()`
`java.lang.String` | `getRoleName()`
`java.util.Set` | `getUsers()`
`int` | `hashCode()`
`boolean` | `isExternallyDefined()`
`void` | `removeUser(User aUser)`
`void` | `setAttributes(java.util.List attrs)`
`void` | `setExternallyDefined(boolean externallyDefined)`
`void` | `setId(long id)`
`void` | `setRoleName(java.lang.String newRoleName)`
`void` | `setUsers(java.util.Set users)`
`java.lang.Object` | `toClient(ResourceFactory clientMappingFactory)`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### RepoRole

    public RepoRole()

Method Detail

### getId

    public long getId()

  Specified by:
    `getId` in interface `IdedObject`
  Returns:

### setId

    public void setId(long id)

  Specified by:
    `setId` in interface `IdedObject`

### getRoleName

    public java.lang.String getRoleName()

  Specified by:
    `getRoleName` in interface `Role`
  See Also:
    `Role.getRoleName()`

### setRoleName

    public void setRoleName(java.lang.String newRoleName)

  Specified by:
    `setRoleName` in interface `Role`

### isExternallyDefined

    public boolean isExternallyDefined()

  Specified by:
    `isExternallyDefined` in interface `Role`
  Returns:
    Returns the externallyDefined.

### setExternallyDefined

    public void setExternallyDefined(boolean externallyDefined)

  Specified by:
    `setExternallyDefined` in interface `Role`
  Parameters:
    `externallyDefined` - The externallyDefined to set.

### addUser

    public void addUser(User aUser)

  Specified by:
    `addUser` in interface `Role`

### removeUser

    public void removeUser(User aUser)

  Specified by:
    `removeUser` in interface `Role`

### getAttributes

    public java.util.List getAttributes()

  Specified by:
    `getAttributes` in interface `AttributedObject`
  Returns:
    List of Attributes for the object

### setAttributes

    public void setAttributes(java.util.List attrs)

  Specified by:
    `setAttributes` in interface `AttributedObject`

### copyFromClient

    public void copyFromClient(java.lang.Object obj,
                               PersistentObjectResolver resolver)

  Specified by:
    `copyFromClient` in interface `IdedObject`

### toClient

    public java.lang.Object toClient(ResourceFactory clientMappingFactory)

  Specified by:
    `toClient` in interface `IdedObject`

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### equals

    public boolean equals(java.lang.Object other)

  Overrides:
    `equals` in class `java.lang.Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`

### getUsers

    public java.util.Set getUsers()

  Specified by:
    `getUsers` in interface `Role`

### setUsers

    public void setUsers(java.util.Set users)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007. All Rights Reserved.