Package com.axemble.vdp.security.helper
Class RightValue
java.lang.Object
com.axemble.vdp.security.helper.RightValue
- All Implemented Interfaces:
RightConst,Serializable,Comparable
- Direct Known Subclasses:
RightDef
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRightValue(int type, int value) RightValue(int type, RightConst extendValue) -
Method Summary
Modifier and TypeMethodDescriptionbooleanclearFlag(int value) intcompareTo(RightValue other) intcopy()booleandecreaseLevel(int value) booleanequals(RightConst other) booleanstatic RightDefgetRightDefinition(int securableObjectType, RightConst rightValue) static RightDef[]getRightDefinitions(int securableObjectType, RightConst rightValue) intgetType()intgetValue()inthashCode()booleanincreaseLevel(int value) booleanisFlag(RightConst other) booleanisGOET(RightConst other) booleanisLOET(RightConst other) booleanbooleanbooleansetFlag(int value) booleansetValue(int value)
-
Field Details
-
type
protected final int type -
value
protected int value
-
-
Constructor Details
-
RightValue
public RightValue(int type, int value) -
RightValue
-
-
Method Details
-
getValue
public int getValue()- Specified by:
getValuein interfaceRightConst
-
setValue
public boolean setValue(int value) -
setFlag
public boolean setFlag(int value) -
clearFlag
public boolean clearFlag(int value) -
increaseLevel
public boolean increaseLevel(int value) -
decreaseLevel
public boolean decreaseLevel(int value) -
getType
public int getType()- Specified by:
getTypein interfaceRightConst
-
hashCode
public int hashCode() -
compareTo
-
compareTo
- Specified by:
compareToin interfaceComparable
-
equals
- Specified by:
equalsin interfaceRightConst- Overrides:
equalsin classObject
-
equals
- Specified by:
equalsin interfaceRightConst
-
isFlag
- Specified by:
isFlagin interfaceRightConst
-
isGOET
- Specified by:
isGOETin interfaceRightConst- Returns:
- is greater or equal to
-
isLOET
- Specified by:
isLOETin interfaceRightConst- Returns:
- is lower or equal to
-
copy
- Specified by:
copyin interfaceRightConst
-
isModeLevel
public boolean isModeLevel()- Specified by:
isModeLevelin interfaceRightConst
-
isModeFlag
public boolean isModeFlag()- Specified by:
isModeFlagin interfaceRightConst
-
getRightDefinition
-
getRightDefinitions
-