public class RightValue extends Object implements RightConst, Serializable
Constructor and Description |
---|
RightValue(int type,
int value) |
RightValue(int type,
RightConst extendValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
clearFlag(int value) |
int |
compareTo(Object o) |
int |
compareTo(RightValue other) |
RightValue |
copy() |
boolean |
decreaseLevel(int value) |
boolean |
equals(Object other) |
boolean |
equals(RightConst other) |
static RightDef |
getRightDefinition(int securableObjectType,
RightConst rightValue) |
static RightDef[] |
getRightDefinitions(int securableObjectType,
RightConst rightValue) |
int |
getType() |
int |
getValue() |
int |
hashCode() |
boolean |
increaseLevel(int value) |
boolean |
isFlag(RightConst other) |
boolean |
isGOET(RightConst other) |
boolean |
isLOET(RightConst other) |
boolean |
isModeFlag() |
boolean |
isModeLevel() |
boolean |
setFlag(int value) |
boolean |
setValue(int value) |
public RightValue(int type, int value)
public RightValue(int type, RightConst extendValue)
public int getValue()
getValue
in interface RightConst
public boolean setValue(int value)
public boolean setFlag(int value)
public boolean clearFlag(int value)
public boolean increaseLevel(int value)
public boolean decreaseLevel(int value)
public int getType()
getType
in interface RightConst
public int compareTo(RightValue other)
public int compareTo(Object o)
compareTo
in interface Comparable
public boolean equals(Object other)
equals
in interface RightConst
equals
in class Object
public boolean equals(RightConst other)
equals
in interface RightConst
public boolean isFlag(RightConst other)
isFlag
in interface RightConst
public boolean isGOET(RightConst other)
isGOET
in interface RightConst
public boolean isLOET(RightConst other)
isLOET
in interface RightConst
public RightValue copy()
copy
in interface RightConst
public boolean isModeLevel()
isModeLevel
in interface RightConst
public boolean isModeFlag()
isModeFlag
in interface RightConst
public static RightDef getRightDefinition(int securableObjectType, RightConst rightValue)
public static RightDef[] getRightDefinitions(int securableObjectType, RightConst rightValue)
Copyright © 2024 Visiativ. All rights reserved.