|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.db4o.config.ConfigScope
public final class ConfigScope
Defines a scope of applicability of a config setting.
Some of the configuration settings can be either:
- enabled globally;
- enabled individually for a specified class;
- disabled.
Configuration.generateUUIDs(ConfigScope)
,
Configuration.generateVersionNumbers(ConfigScope)
,
Serialized FormField Summary | |
---|---|
static ConfigScope |
DISABLED
Marks a configuration feature as globally disabled. |
static int |
DISABLED_ID
|
static ConfigScope |
GLOBALLY
Marks a configuration feature as globally enabled. |
static int |
GLOBALLY_ID
|
static ConfigScope |
INDIVIDUALLY
Marks a configuration feature as individually configurable. |
static int |
INDIVIDUALLY_ID
|
Method Summary | |
---|---|
boolean |
applyConfig(boolean defaultValue)
Checks if the current configuration scope is globally enabled or disabled. |
boolean |
equals(java.lang.Object obj)
|
static ConfigScope |
forID(int id)
Deprecated. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DISABLED_ID
public static final int INDIVIDUALLY_ID
public static final int GLOBALLY_ID
public static final ConfigScope DISABLED
public static final ConfigScope INDIVIDUALLY
public static final ConfigScope GLOBALLY
Method Detail |
---|
public boolean applyConfig(boolean defaultValue)
defaultValue
- - default result
public static ConfigScope forID(int id)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |