uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

getPropertyAsFeature(String name, boolean defaultValue) method

Description

This method acquires a Boolean property as a feature from the property map.

Syntax

public boolean getPropertyAsFeature(String name,

boolean defaultValue)

Parameters

name
This is the name of the property.

defaultValue
This is the default value assumed when the specified property does not exist.

Return value

If the specified property is Boolean with the value true, true is returned, and in all other cases, the specified default value is returned.

Notes

None.