new PropertyFlag()

Creates a new object containing the property flag set.

Extends
bo.system.Enumeration

Properties

read-only
$name  string

The name of the enumeration. The default value is the name of the constructor.

Inherited from
bo.system.Enumeration#$name

constant read-only
key

The model property is a key element of the model.

Default value

constant read-only
none

None of the property flags.

Default value

constant read-only
notOnCto

The value of the model property will not be used on the client transfer object. Equivalent with PropertyFlag.onDtoOnly.

Default value

constant read-only
notOnDto

The value of the model property will not be used on the data transfer object. Equivalent with PropertyFlag.onCtoOnly.

Default value

constant read-only
onCtoOnly

The value of the model property will be used on the client transfer object only. Equivalent with PropertyFlag.notOnDto.

Default value

constant read-only
onDtoOnly

The value of the model property will be used on the data transfer object only. Equivalent with PropertyFlag.notOnCto.

Default value

constant read-only
parentKey

The model property is a key element of the parent model.

Default value

constant read-only
readOnly

The model property cannot be set.

Default value

Method

hasValue(name) → boolean

Determines if the enumeration has an item with the given name.

Parameter

Name Type Optional Description

name

 

 

The name of the enumeration item.

Inherited from
bo.system.Enumeration#hasValue
Returns

True if the name is an enumeration item, otherwise false.