public enum MaapiFlag extends Enum<MaapiFlag>
Maapi.setFlags(int,EnumSet) method to control
 read/write sessions.| Enum Constant and Description | 
|---|
CONFIG_ONLY
This flag will make the  
Maapi.getXxx() method return
 config nodes only. | 
DELAYED_WHEN
This flag only takes effect when used in
  
Maapi.startTransFlags(int,int,int,EnumSet) calls
 and is only meaningful when applied to an read-write transaction. | 
HIDE_INACTIVE
This flag only takes effect when used in
  
Maapi.startTransFlags(int,int,int,EnumSet) calls
 and only when starting a read-only transaction. | 
HINT_BULK
This flag tells the server that we will be reading substantial amounts
 of data. 
 | 
NO_DEFAULTS
This flag specifies that we want to be informed when we read leafs with
 default values that have not had a value set. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getValue()  | 
static MaapiFlag | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static MaapiFlag[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final MaapiFlag HINT_BULK
The affect of setting this has the effect that the
 DpDataCallback.getObject(DpTrans,ConfObject[]) and
 DpDataCallback.iterator(DpTrans,ConfObject[]),
 DpDataCallback.getIteratorKey(DpTrans,ConfObject[],Object)
 callbacks (if available) are used towards external data providers
 when we call Maapi.getElem(int,String,Object...) etc and
 Maapi.getNext(MaapiCursor).
 
The Maapi.getObject(int,String,Object...)
 method always operates as if this flag was set.
public static final MaapiFlag NO_DEFAULTS
This is indicated by the returned value being of class
 ConfDefault (type J_DEFAULT) instead of the
 actual value. The default value for such leafs can be obtained from the
 Maapi.loadSchemas() tree provided by the library.
public static final MaapiFlag CONFIG_ONLY
Maapi.getXxx() method return
 config nodes only.
 if we attempt to read operational data, it will be treated as if the
 nodes did not exist. This is mainly useful in conjunction with
 Maapi.getObject(int,String,Object...) and list entries or
 containers that have both config
 and operational data (the operational data nodes in the returned array
 will be of class ConfNoExists (type J_NOEXISTS),
 but the other functions also obey the flag.
public static final MaapiFlag HIDE_INACTIVE
Maapi.startTransFlags(int,int,int,EnumSet) calls
 and only when starting a read-only transaction.
 It will hide configuration data that has the
 ConfAttributeType.INACTIVE attribute set, i.e.
 it will appear as if that data does not exist.public static final MaapiFlag DELAYED_WHEN
Maapi.startTransFlags(int,int,int,EnumSet) calls
 and is only meaningful when applied to an read-write transaction.
 It will cause "delayed when" mode to be enabled from the beginning of
 the transaction.
 See Maapi.setDelayedWhen(int, boolean) for
 more information about the "delayed when" modepublic static MaapiFlag[] values()
for (MaapiFlag c : MaapiFlag.values()) System.out.println(c);
public static MaapiFlag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()