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.
-
setKey(_key)
-
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.
-
withKey(_key){Parameter}
-
Builder for key.
Name Type Description _key
String Key -
withValue(_value){Parameter}
-
Builder for value.
Name Type Description _value
String Value