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 SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionRightValue(int type, int value) RightValue(int type, RightConst extendValue) 
- 
Method SummaryModifier 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- 
typeprotected final int type
- 
valueprotected int value
 
- 
- 
Constructor Details- 
RightValuepublic RightValue(int type, int value) 
- 
RightValue
 
- 
- 
Method Details- 
getValuepublic int getValue()- Specified by:
- getValuein interface- RightConst
 
- 
setValuepublic boolean setValue(int value) 
- 
setFlagpublic boolean setFlag(int value) 
- 
clearFlagpublic boolean clearFlag(int value) 
- 
increaseLevelpublic boolean increaseLevel(int value) 
- 
decreaseLevelpublic boolean decreaseLevel(int value) 
- 
getTypepublic int getType()- Specified by:
- getTypein interface- RightConst
 
- 
hashCodepublic int hashCode()
- 
compareTo
- 
compareTo- Specified by:
- compareToin interface- Comparable
 
- 
equals- Specified by:
- equalsin interface- RightConst
- Overrides:
- equalsin class- Object
 
- 
equals- Specified by:
- equalsin interface- RightConst
 
- 
isFlag- Specified by:
- isFlagin interface- RightConst
 
- 
isGOET- Specified by:
- isGOETin interface- RightConst
- Returns:
- is greater or equal to
 
- 
isLOET- Specified by:
- isLOETin interface- RightConst
- Returns:
- is lower or equal to
 
- 
copy- Specified by:
- copyin interface- RightConst
 
- 
isModeLevelpublic boolean isModeLevel()- Specified by:
- isModeLevelin interface- RightConst
 
- 
isModeFlagpublic boolean isModeFlag()- Specified by:
- isModeFlagin interface- RightConst
 
- 
getRightDefinition
- 
getRightDefinitions
 
-