public class AttributeRight
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
R
String constant for read operation
|
static java.lang.String |
RW
String constant for read-write operation
|
static java.lang.String |
W
String constant for write operation
|
| Constructor and Description |
|---|
AttributeRight()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.String> |
getAttributes()
Returns the list of attributes the right applies to.
|
java.lang.String |
getOperations()
Returns the operations that define the right.
|
boolean |
isForAllAttributes()
Returns whether the right applies to all attributes of the
target.
|
void |
setForAllAttributes(boolean isForAllAttributes)
Changes whether the right applies to all attributes of the
target.
|
void |
setOperations(java.lang.String operations)
Changes the operations for the right.
|
java.lang.String |
toString() |
public static final java.lang.String R
public static final java.lang.String W
public static final java.lang.String RW
public boolean isForAllAttributes()
public void setForAllAttributes(boolean isForAllAttributes)
isForAllAttributes - boolean, true if all attribute, false if notpublic java.lang.String getOperations()
public void setOperations(java.lang.String operations)
operations - String representation of the operations, R, W, or
RW.public java.util.Collection<java.lang.String> getAttributes()
public java.lang.String toString()
toString in class java.lang.Object