|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.latencybusters.lbm.sdm.LBMSDM
com.latencybusters.lbm.sdm.LBMSDMFieldsAttribute
public class LBMSDMFieldsAttribute
LBMSDMFieldsAttribute define the attributes used by LBMSDMFields. Currently the only option is to set the number of preallocated fields on a field set (message). In the future, other options will be added.
Field Summary |
---|
Fields inherited from class com.latencybusters.lbm.sdm.LBMSDM |
---|
DEBUG_BASIC, debug_level, DEBUG_VERBOSE_PARSING |
Constructor Summary | |
---|---|
LBMSDMFieldsAttribute()
Constructor for a field set attribute. |
Method Summary | |
---|---|
LBMSDMFieldsAttribute |
clone()
Get a copy of this object |
void |
disable_name_tree()
Enable field name validation This also controls name validation when adding fields etc. |
void |
enable_name_tree()
Enable field name validation This also controls name validation when adding fields etc. |
int |
get_field_prealloc()
Get the number of preallocated fields |
boolean |
name_tree_enabled()
Find out if field name validation is enabled. |
void |
set_field_prealloc(int num_fields)
Set the number of preallocated fields |
Methods inherited from class com.latencybusters.lbm.sdm.LBMSDM |
---|
log, set_debug_level |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LBMSDMFieldsAttribute()
Method Detail |
---|
public void set_field_prealloc(int num_fields)
num_fields
- The number of fields to preallocatepublic int get_field_prealloc()
public LBMSDMFieldsAttribute clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void enable_name_tree()
public void disable_name_tree()
public boolean name_tree_enabled()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |