org.systinet.wasp.dd
Interface Configuration.Config

Enclosing interface:
Configuration

public static interface Configuration.Config

This interface is a part of configuration that has the same update properties.


Field Summary
static int OVERRIDE_ALWAYS
          When performing update/upgrade, always replace old configuration with the new one.
static int OVERRIDE_NEVER
          When performing update/upgrade, never replace old configuration with new one.
 
Method Summary
 void addElement(org.w3c.dom.Element element)
          Adds an element to config.
 java.util.List getElements()
          Returns a list of elements in config.
 int getOverride()
          Returns override mode.
 void setOverride(int override)
          Sets the override mode.
 

Field Detail

OVERRIDE_ALWAYS

public static final int OVERRIDE_ALWAYS
When performing update/upgrade, always replace old configuration with the new one.

See Also:
getOverride(), setOverride(int), Constant Field Values

OVERRIDE_NEVER

public static final int OVERRIDE_NEVER
When performing update/upgrade, never replace old configuration with new one.

See Also:
getOverride(), setOverride(int), Constant Field Values
Method Detail

addElement

public void addElement(org.w3c.dom.Element element)
Adds an element to config.

Parameters:
element - element to be added

getElements

public java.util.List getElements()
Returns a list of elements in config.

Returns:
the list of elements in config

getOverride

public int getOverride()
Returns override mode.

Returns:
one of OVERRIDE_NEVER, OVERRIDE_ALWAYS
See Also:
OVERRIDE_NEVER, OVERRIDE_ALWAYS

setOverride

public void setOverride(int override)
Sets the override mode.

Parameters:
override - mode - one of OVERRIDE_NEVER, OVERRIDE_ALWAYS
See Also:
OVERRIDE_NEVER, OVERRIDE_ALWAYS