Package jmri
Class BooleanPermission.BooleanValue
- java.lang.Object
-
- jmri.BooleanPermission.BooleanValue
-
- All Implemented Interfaces:
PermissionValue
- Enclosing interface:
- BooleanPermission
public static class BooleanPermission.BooleanValue extends java.lang.Object implements PermissionValue
-
-
Field Summary
Fields Modifier and Type Field Description static BooleanPermission.BooleanValueFALSEstatic BooleanPermission.BooleanValueTRUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanget()static BooleanPermission.BooleanValueget(boolean value)booleanisDefault()Is this the default value of this permission?java.lang.StringtoString()
-
-
-
Field Detail
-
TRUE
public static final BooleanPermission.BooleanValue TRUE
-
FALSE
public static final BooleanPermission.BooleanValue FALSE
-
-
Method Detail
-
get
public boolean get()
-
get
public static BooleanPermission.BooleanValue get(boolean value)
-
isDefault
public boolean isDefault()
Description copied from interface:PermissionValueIs this the default value of this permission?- Specified by:
isDefaultin interfacePermissionValue- Returns:
- true if it's the default, false otherwise
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-