setOptional(boolean) method

Set the input attribute optional status.

Syntax

void setOptional ( boolean optional )

Parameters

Usage

NOTE:

Typically, the optional status is set in the constructor.