Class: Parameter

Parameter

Parameter specifies the Attributes to that these are associated.

new Parameter()

Requires

  • module:easejs

Members

protectedkeystring

protectedvaluestring

Methods

virtualequals(_parameter){boolean}

Compares this instance with the given one.
Name Type Description
_parameter Parameter Parameter that should be compared.

getIdentifier(){String}

Returns an identifier that uniquely describes the parameter. The identifier can be used to compare two parameters. Format: [ParameterName:ParameterValue]
Example
 [CP_UNIT:KILOMETERS]

getKey(){string}

Returns the key.

getValue(){string}

Returns the value.
Sets the key.
Name Type Description
_key string Key

setValue(_value)

Sets the value.
Name Type Description
_value string Value

toString(){string}

Returns a string that describes the parameter.
Builder for key.
Name Type Description
_key String Key
Builder for value.
Name Type Description
_value String Value