public interface Property
Property
is a single configuration value, used to configure the appNG platform, a Site
or a
Application
.Properties
Modifier and Type | Method and Description |
---|---|
byte[] |
getBlob()
If this
Property contains BLOB data, this data is being returned. |
Boolean |
getBoolean()
Returns the
Boolean -value of this Property :
Boolean.TRUE if getString() returns true or 1
Boolean.FALSE if the getString() returns a non-null String
null otherwise
|
String |
getClob()
If this
Property contains CLOB data, this data is being returned. |
String |
getDefaultString()
Returns the default
String -value of this Property . |
String |
getDescription()
Returns the description of this
Property . |
Double |
getDouble()
Returns the
Double -value of this Property using Double.parseDouble(String) , if
getString() returns a non-null String , null otherwise. |
Float |
getFloat()
Returns the
Float -value of this Property using Float.parseFloat(String) , if
getString() returns a non-null String , null otherwise. |
Integer |
getInteger()
Returns the
Integer -value of this Property using Integer.parseInt(String) , if
getString() returns a non-null String , null otherwise. |
String |
getName()
Returns the name of this
Property , as used in Properties.getXXX(String) . |
String |
getString()
Returns the
String -value of this Property |
boolean |
isMandatory()
Deprecated.
|
String getString()
String
-value of this Property
String
-valueProperties.getString(String)
,
Properties.getString(String, String)
Boolean getBoolean()
Boolean
-value of this Property
:Boolean.TRUE
if getString()
returns true
or 1
Boolean.FALSE
if the getString()
returns a non-null String
null
otherwise
Boolean
-value (may be null
)Properties.getBoolean(String)
,
Properties.getBoolean(String, Boolean)
Integer getInteger()
Integer
-value of this Property
using Integer.parseInt(String)
, if
getString()
returns a non-null String
, null
otherwise.Integer
-value (may be null
)Properties.getInteger(String)
,
Properties.getInteger(String, Integer)
Float getFloat()
Float
-value of this Property
using Float.parseFloat(String)
, if
getString()
returns a non-null String
, null
otherwise.Float
-value (may be null
)Properties.getFloat(String)
,
Properties.getFloat(String, Float)
Double getDouble()
Double
-value of this Property
using Double.parseDouble(String)
, if
getString()
returns a non-null String
, null
otherwise.Double
-value (may be null
)Properties.getDouble(String)
,
Properties.getDouble(String, Double)
byte[] getBlob()
Property
contains BLOB data, this data is being returned.null
)Properties.getBlob(String)
String getClob()
Property
contains CLOB data, this data is being returned.null
)Properties.getClob(String)
,
Properties.getClob(String, String)
String getName()
Property
, as used in Properties.getXXX(String)
.@Deprecated boolean isMandatory()
String getDefaultString()
String
-value of this Property
.String
-valueString getDescription()
Property
.Copyright © 2011–2017 aiticon GmbH. All rights reserved.