BEAST
eu.baltrad.beast.admin.objects.Settings Class Reference

Public Member Functions

 Settings ()
 Constructor.
 
Map< String, String > getProperties ()
 
void setProperties (Map< String, String > fields)
 
void addProperty (String field, String value)
 Adds a field.
 
boolean hasProperty (String field)
 
String getProperty (String field)
 Returns the property with name.
 
String getPropertyAsString (String field)
 Returns description for field.
 
int getPropertyAsInt (String name, int defaultValue)
 Returns the value as an integer.
 
long getPropertyAsLong (String name, long defaultValue)
 Returns the value as an integer.
 
double getPropertyAsDouble (String name, double defaultValue)
 Returns the value as an integer.
 
boolean getPropertyAsBoolean (String name, boolean defaultValue)
 

Detailed Description

Author
anders

Constructor & Destructor Documentation

◆ Settings()

eu.baltrad.beast.admin.objects.Settings.Settings ( )
inline

Constructor.

Member Function Documentation

◆ addProperty()

void eu.baltrad.beast.admin.objects.Settings.addProperty ( String field,
String value )
inline

Adds a field.

Parameters
field
description

◆ getProperties()

Map< String, String > eu.baltrad.beast.admin.objects.Settings.getProperties ( )
inline
Returns
the fieldStatus

◆ getProperty()

String eu.baltrad.beast.admin.objects.Settings.getProperty ( String field)
inline

Returns the property with name.

Parameters
fieldthe name of the field
Returns
the value

◆ getPropertyAsDouble()

double eu.baltrad.beast.admin.objects.Settings.getPropertyAsDouble ( String name,
double defaultValue )
inline

Returns the value as an integer.

Parameters
defaultValue
Returns

◆ getPropertyAsInt()

int eu.baltrad.beast.admin.objects.Settings.getPropertyAsInt ( String name,
int defaultValue )
inline

Returns the value as an integer.

Parameters
defaultValue
Returns

◆ getPropertyAsLong()

long eu.baltrad.beast.admin.objects.Settings.getPropertyAsLong ( String name,
long defaultValue )
inline

Returns the value as an integer.

Parameters
defaultValue
Returns

◆ getPropertyAsString()

String eu.baltrad.beast.admin.objects.Settings.getPropertyAsString ( String field)
inline

Returns description for field.

Parameters
fieldthe field
Returns
the description

◆ setProperties()

void eu.baltrad.beast.admin.objects.Settings.setProperties ( Map< String, String > fields)
inline
Parameters
fieldStatusthe fieldStatus to set

The documentation for this class was generated from the following file: