Package com.sas.lsaf.security.privilege

## Class GlobalPrivilege

- java.lang.Object
- - com.sas.lsaf.core.AbstractIdentifiable
  - - com.sas.lsaf.security.privilege.GlobalPrivilege

- All Implemented Interfaces:
    `Identifiable`, `Privilege`, `java.io.Serializable`

      public class GlobalPrivilege
      extends AbstractIdentifiable
      implements Privilege

  A global privilege represents a capability to perform some global function or global action in the system.
  Since:
    1.1
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `GlobalPrivilege​(java.lang.String id, java.lang.String name)` | Constructor that specifies the unique identifier and name of this global privilege.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(java.lang.Object obj)` |
    `java.lang.String` | `getName()` | Gets the name of this global privilege.
    `int` | `hashCode()` |
    `java.lang.String` | `toString()` |

    - ### Methods inherited from class com.sas.lsaf.core.AbstractIdentifiable

      `getId, getTypeId`

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

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

    - ### Methods inherited from interface com.sas.lsaf.core.Identifiable

      `getId, getTypeId`

- - ### Constructor Detail

    - #### GlobalPrivilege

          public GlobalPrivilege​(java.lang.String id,
                                 java.lang.String name)

      Constructor that specifies the unique identifier and name of this global privilege.
      Parameters:
        `id` - the unique identifier for this global privilege.
        `name` - the display name for this privilege.

  - ### Method Detail

    - #### getName

          public java.lang.String getName()

      Gets the name of this global privilege.
      Specified by:
        `getName` in interface `Privilege`
      Returns:
        The name of this global privilege.

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `AbstractIdentifiable`

    - #### equals

          public boolean equals​(java.lang.Object obj)

      Overrides:
        `equals` in class `AbstractIdentifiable`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `AbstractIdentifiable`