public class TrusteeRight extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected RightValue |
rightValue |
protected int |
state |
static int |
STATE_CREATED |
static int |
STATE_DELETED |
static int |
STATE_IGNORED |
static int |
STATE_LOADED |
static int |
STATE_UPDATED |
protected TrusteeObject |
trustee |
Constructor and Description |
---|
TrusteeRight(TrusteeObject trustee,
RightConst rightValue,
int state) |
Modifier and Type | Method and Description |
---|---|
void |
clearFlag(int value) |
TrusteeRight |
copy() |
RightValue |
copyRight() |
void |
decreaseLevel(int value) |
void |
delete() |
RightConst |
getRightValue() |
int |
getState() |
TrusteeObject |
getTrustee() |
int |
getType() |
int |
getValue() |
void |
increaseLevel(int value) |
boolean |
isCreated() |
boolean |
isDeleted() |
boolean |
isFlag(RightConst other) |
boolean |
isGOET(RightConst other) |
boolean |
isIgnored() |
boolean |
isLoaded() |
boolean |
isLOET(RightConst other) |
boolean |
isUpdated() |
boolean |
isValid() |
protected void |
onValueChange() |
boolean |
rightEquals(RightConst other) |
void |
setFlag(int value) |
void |
setState(int state) |
void |
setValue(int value) |
static String |
stateToString(int state) |
String |
toString() |
public static final int STATE_CREATED
public static final int STATE_LOADED
public static final int STATE_UPDATED
public static final int STATE_DELETED
public static final int STATE_IGNORED
protected final TrusteeObject trustee
protected RightValue rightValue
protected int state
public TrusteeRight(TrusteeObject trustee, RightConst rightValue, int state)
public static String stateToString(int state)
public TrusteeRight copy()
public RightConst getRightValue()
public TrusteeObject getTrustee()
public int getState()
public void setState(int state)
protected void onValueChange()
public void delete()
public boolean isCreated()
public boolean isLoaded()
public boolean isUpdated()
public boolean isDeleted()
public boolean isIgnored()
public boolean isValid()
public int getValue()
public void setValue(int value)
public void clearFlag(int value)
public void increaseLevel(int value)
public void setFlag(int value)
public void decreaseLevel(int value)
public int getType()
public boolean rightEquals(RightConst other)
public boolean isFlag(RightConst other)
public boolean isGOET(RightConst other)
public boolean isLOET(RightConst other)
public RightValue copyRight()
Copyright © 2024 Visiativ. All rights reserved.