Class: Parameter

Parameter

Parameter specifies the Attributes to that these are associated.

new Parameter()

Methods

equals(parameter){boolean}

Compares this instance with the given one.

Name Type Description
parameter Parameter

Parameter that should be compared.

Returns:
Type Description
boolean

getKey(){string}

Returns the key.

Returns:
Type Description
string

getValue(){string}

Returns the value.

Returns:
Type Description
string

Sets the key.

Name Type Description
newKey string

Key

setValue(newValue)

Sets the value.

Name Type Description
newValue string

Value

Returns a description of the parameter. Format: [ParameterName:ParameterValue]

Example

[CP_UNIT:KILOMETERS]

Builder for key.

Name Type Description
key String

Key

Returns:
Type Description
Parameter

Builder for value.

Name Type Description
value String

Value

Returns:
Type Description
Parameter