de.mid.innovator.ui
Interface Property

All Superinterfaces:
Comparable<Property>
All Known Implementing Classes:
PropertyCfg

public interface Property
extends Comparable<Property>

A property is a combination of a key and a value pair that a user can provide either when starting or running an application. Properties should be configured and read using a property provider.

NOTE: There are no spaces between the equals sign and the values; this is done to avoid incorrect command line parsing when the property is given as a command line argument. If a value contains a blank, the whole pair must be enclosed within quotation marks.

Example:

  de.mid.xyz=value
  de.mid.innovator.inohost=host.9000 "de.mid.innovator.model=MID Demo"
 

Author:
borschet
See Also:
PropertyCfg, PropertyProvider, PropertyProviderDefault, InnovatorBatchLoginDefault

Method Summary
 String getDefaultAsString()
           
 Object getDefaultValue()
           
 String getDescription()
           
 String getKey()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getDefaultAsString

String getDefaultAsString()
Returns:
The default value as string.

getDefaultValue

Object getDefaultValue()
Returns:
The default value that was previously configured as a (castable) object.

getDescription

String getDescription()
Returns:
A (hopefully) helpful description that was configured, which a user can view.

getKey

String getKey()
Returns:
The name of the key