nl.gx.webmanager.services.config
Interface ConfigurationEntry


public interface ConfigurationEntry

This interface defines individual entries in a configuration set.

Author:
arjansc

Field Summary
static int BOOLEAN
           
static int DOUBLE
           
static int LONG
           
static int STRING
           
 
Method Summary
 int getCardinality()
          Returns the cardinality of the configuration entry.
 java.lang.String getName()
          Returns the name of the name-value pair.
 int getType()
          Returns the value type of the configuration entry.
 java.lang.String[] getValues()
          Returns all values of the ConfigurationEntry.
 void setValues(java.lang.String[] values)
          Set the values of the ConfigurationEntry.
 

Field Detail

STRING

static final int STRING
See Also:
Constant Field Values

LONG

static final int LONG
See Also:
Constant Field Values

DOUBLE

static final int DOUBLE
See Also:
Constant Field Values

BOOLEAN

static final int BOOLEAN
See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Returns the name of the name-value pair.

Returns:
the name of the configuration entry.

getType

int getType()
Returns the value type of the configuration entry.

Returns:
indentifier for the value type of the entry.

getCardinality

int getCardinality()
Returns the cardinality of the configuration entry.

Returns:
cardinality of the entry.

getValues

java.lang.String[] getValues()
Returns all values of the ConfigurationEntry. Multiple values can be associated with one name-value pair.

Returns:

setValues

void setValues(java.lang.String[] values)
Set the values of the ConfigurationEntry. Multiple values can be associated with one name-value pair.

Parameters:
values -


Copyright © 2007-2010 GX creative online development BV. All Rights Reserved.