com.latencybusters.lbm.sdm
Class LBMSDMFieldsAttribute

java.lang.Object
  extended by com.latencybusters.lbm.sdm.LBMSDM
      extended by com.latencybusters.lbm.sdm.LBMSDMFieldsAttribute
All Implemented Interfaces:
java.lang.Cloneable

public class LBMSDMFieldsAttribute
extends LBMSDM
implements java.lang.Cloneable

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

LBMSDMFieldsAttribute

public LBMSDMFieldsAttribute()
Constructor for a field set attribute.

Method Detail

set_field_prealloc

public void set_field_prealloc(int num_fields)
Set the number of preallocated fields

Parameters:
num_fields - The number of fields to preallocate

get_field_prealloc

public int get_field_prealloc()
Get the number of preallocated fields


clone

public LBMSDMFieldsAttribute clone()
                            throws java.lang.CloneNotSupportedException
Get a copy of this object

Overrides:
clone in class java.lang.Object
Returns:
A new object with a copy
Throws:
java.lang.CloneNotSupportedException

enable_name_tree

public void enable_name_tree()
Enable field name validation This also controls name validation when adding fields etc. When validation is on, duplicate field names are detected. The C API also implements a name tree for optimized searches by name, but this is reserved for future development in Java and .NET.


disable_name_tree

public void disable_name_tree()
Enable field name validation This also controls name validation when adding fields etc. When validation is on, duplicate field names are detected. The C API also implements a name tree for optimized searches by name, but this is reserved for future development in Java and .NET.


name_tree_enabled

public boolean name_tree_enabled()
Find out if field name validation is enabled.

Returns:
true if enabled


All of the documentation and software included in this and any other Informatica Inc "Ultra Messaging" Release is Copyright (C) 2004-2014, Informatica Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with 29West Inc. Copyright © 2004-2014, Informatica, Inc. All Rights Reserved.