new Qualifier( [json])
Qualifiers are used to supply additional details about a piece of data.
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
json |
Object |
<optional> |
- See:
Extends
Methods
-
getName()
-
Get the name
Returns:
name- Type
- String
-
getValue()
-
Get the value
Returns:
- Type
- String
-
init(json)
-
Initialize from JSON
Parameters:
Name Type Description json
Object - Overrides:
Returns:
this- Type
- Qualifier
-
<static> isInstance(obj)
-
Check whether the given object is an instance of this class.
Parameters:
Name Type Description obj
Object Returns:
- Type
- Boolean
-
setName(name)
-
Set the name
Parameters:
Name Type Description name
String Returns:
This instance.- Type
- Qualifier
-
setValue(value)
-
Set the value
Parameters:
Name Type Description value
String Returns:
This instance.- Type
- Qualifier
-
toJSON()
-
Export the object as JSON
- Overrides:
Returns:
JSON object- Type
- Object