wt.occurrence
Class IBAHelper

java.lang.Object
  extended bywt.occurrence.IBAHelper

public final class IBAHelper
extends Object

This IBAHelper provides utility methods for managing IBA holders and IBA values within the OccurrenceService.

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Constructor Summary
IBAHelper()
           
 
Method Summary
static void copyIBAValues(DefaultAttributeContainer originalContainer, DefaultAttributeContainer copyContainer)
          Copy all IBA values from one DefaultAttributeContainer to another.
static void copyIBAValues(IBAHolder original, IBAHolder copy)
          Copy all IBA values from one IBAHolder to another.
static IBAHolder deleteAllIBAValues(IBAHolder ibaHolder)
          Delete all IBA values of an IBAHolder in memory.
private static void print(Object o)
           
private static void printIBAValue(AbstractValueView avv)
           
static void printIBAValues(DefaultAttributeContainer dac)
          Print all IBA values of an DefaultAttributeContainer to stdout.
static void printIBAValues(IBAHolder ibaHolder)
          Print all IBA values of an IBAHolder to stdout.
private static void println()
           
private static void println(Object o)
           
static IBAHolder refreshIBAValues(IBAHolder ibaHolder)
          Refresh all IBA values of an IBAHolder (from persistent storage).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

IBAHelper

public IBAHelper()
Method Detail

copyIBAValues

public static void copyIBAValues(IBAHolder original,
                                 IBAHolder copy)
                          throws WTException
Copy all IBA values from one IBAHolder to another.

Parameters:
original - the source IBA holder
copy - the target IBA holder
Throws:
WTException

copyIBAValues

public static void copyIBAValues(DefaultAttributeContainer originalContainer,
                                 DefaultAttributeContainer copyContainer)
                          throws WTException
Copy all IBA values from one DefaultAttributeContainer to another.

Parameters:
originalContainer - the source container
copyContainer - the target container
Throws:
WTException

refreshIBAValues

public static IBAHolder refreshIBAValues(IBAHolder ibaHolder)
                                  throws WTException
Refresh all IBA values of an IBAHolder (from persistent storage).

Parameters:
ibaHolder - the IBA holder
Returns:
the updated IBA holder
Throws:
WTException

deleteAllIBAValues

public static IBAHolder deleteAllIBAValues(IBAHolder ibaHolder)
                                    throws WTException
Delete all IBA values of an IBAHolder in memory.

Parameters:
ibaHolder - the IBA holder
Returns:
the updated IBA holder
Throws:
WTException

printIBAValues

public static void printIBAValues(IBAHolder ibaHolder)
                           throws WTException
Print all IBA values of an IBAHolder to stdout.

Parameters:
ibaHolder - the IBA holder
Throws:
WTException

printIBAValues

public static void printIBAValues(DefaultAttributeContainer dac)
                           throws WTException
Print all IBA values of an DefaultAttributeContainer to stdout.

Parameters:
dac - the attribute container
Throws:
WTException

printIBAValue

private static void printIBAValue(AbstractValueView avv)

println

private static void println(Object o)

println

private static void println()

print

private static void print(Object o)