H3C Technologies H3C Intelligent Management Center User Manual

Page 503

Advertising
background image

489

Property

name

Description Required

Remarks

entityProperty

Entity class
property of the

parameter

N

Required when the class property of RestAction is not null.
The system calls the setter of the property to assign a value to

it.

dataType

Entity property
data type of the

parameter

N

Required when the class property of RestAction is not null.
The following data types are supported (package name is
contained in the type name):
Basic data type:

boolean

byte

double

float

int

long

short

char

Boolean type:

java.lang.Boolean

String type:

java.lang.String

Number type:

java.lang.Byte

java.lang.Double

java.lang.Float

java.lang.Integer

java.lang.Long

java.lang.Short

java.math.BigInteger

validateRegEx

Validation with
regular
expression

N

Regular expression used for validation. If it is null, no
validation is performed.

defaultValue

Default value

N

It is null by default.

info

Prompt
information

N

Tooltip help information behind the input box. It is a
resource string starting with %.
Prompt information display is supported by only text boxes,
combo boxes, and calendar control.

Example 1: a parameter, which has its view defined as SelectManyCheckbox, and has static

initialization performed.

<Parameter name="param8" label="%str.param8">

<View type="SelectManyCheckbox" layout="1">

<SelectItem value="1" displayValue="Monday"/>

<SelectItem value="2" displayValue="%str.tuesday"/>

<SelectItem value="3" displayValue="Wednesday"/>

<SelectItem value="4" displayValue="Thursday"/>

Advertising