Package Torello.Browser
Class WebAudio.AudioParam
- java.lang.Object
-
- Torello.Java.JSON.BaseType
-
- Torello.Browser.WebAudio.AudioParam
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- WebAudio
public static class WebAudio.AudioParam extends BaseType implements java.io.Serializable
Protocol object for AudioParam- See Also:
- Serialized Form
Hi-Lited Source-Code:- View Here: Torello/Browser/WebAudio.java
- Open New Browser-Tab: Torello/Browser/WebAudio.java
File Size: 5,617 Bytes Line Count: 136 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field protected static long
serialVersionUID
For Object Serialization.Type Properties Modifier and Type Field String
contextId
[No Description Provided by Google]
Number
defaultValue
[No Description Provided by Google]
Number
maxValue
[No Description Provided by Google]
Number
minValue
[No Description Provided by Google]
String
nodeId
[No Description Provided by Google]
String
paramId
[No Description Provided by Google]
String
paramType
[No Description Provided by Google]
String
rate
[No Description Provided by Google]
-
Constructor Summary
Constructors Constructor Description AudioParam(String paramId, String nodeId, String contextId, String paramType, String rate, Number defaultValue, Number minValue, Number maxValue)
ConstructorAudioParam(JsonObject jo)
JSON Object Constructor
-
Method Summary
Generate Array that Indicates which Parameter are Optional Modifier and Type Method boolean[]
optionals()
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.Methods: class java.lang.Object Modifier and Type Method boolean
equals(Object other)
Checks whether'this'
equals an input Java-Object
int
hashCode()
Generates a Hash-Code for'this'
instance
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
For Object Serialization. java.io.Serializable- See Also:
- Constant Field Values
-
paramId
public final java.lang.String paramId
[No Description Provided by Google]
-
nodeId
public final java.lang.String nodeId
[No Description Provided by Google]
-
contextId
public final java.lang.String contextId
[No Description Provided by Google]
-
paramType
public final java.lang.String paramType
[No Description Provided by Google]
-
rate
public final java.lang.String rate
[No Description Provided by Google]
-
defaultValue
public final java.lang.Number defaultValue
[No Description Provided by Google]
-
minValue
public final java.lang.Number minValue
[No Description Provided by Google]
-
maxValue
public final java.lang.Number maxValue
[No Description Provided by Google]
-
-
Constructor Detail
-
AudioParam
public AudioParam(java.lang.String paramId, java.lang.String nodeId, java.lang.String contextId, java.lang.String paramType, java.lang.String rate, java.lang.Number defaultValue, java.lang.Number minValue, java.lang.Number maxValue)
Constructor- Parameters:
paramId
- -nodeId
- -contextId
- -paramType
- -rate
- -defaultValue
- -minValue
- -maxValue
- -
-
AudioParam
public AudioParam(JsonObject jo)
JSON Object Constructor- Parameters:
jo
- A Json-Object having data about an instance of'AudioParam'
.
-
-
Method Detail
-
optionals
public boolean[] optionals()
Description copied from class:BaseType
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding aJsonObject
to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array positionTRUE
.
NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
-
equals
public boolean equals(java.lang.Object other)
Checks whether'this'
equals an input Java-Object
- Overrides:
equals
in classjava.lang.Object
- Code:
- Exact Method Body:
if (other == null) return false; if (other.getClass() != this.getClass()) return false; AudioParam o = (AudioParam) other; return Objects.equals(this.paramId, o.paramId) && Objects.equals(this.nodeId, o.nodeId) && Objects.equals(this.contextId, o.contextId) && Objects.equals(this.paramType, o.paramType) && Objects.equals(this.rate, o.rate) && Objects.equals(this.defaultValue, o.defaultValue) && Objects.equals(this.minValue, o.minValue) && Objects.equals(this.maxValue, o.maxValue);
-
hashCode
public int hashCode()
Generates a Hash-Code for'this'
instance- Overrides:
hashCode
in classjava.lang.Object
- Code:
- Exact Method Body:
return Objects.hashCode(this.paramId) + Objects.hashCode(this.nodeId) + Objects.hashCode(this.contextId) + Objects.hashCode(this.paramType) + Objects.hashCode(this.rate) + Objects.hashCode(this.defaultValue) + Objects.hashCode(this.minValue) + Objects.hashCode(this.maxValue);
-
-