| Package | com.smartfoxserver.v2.entities.variables |
| Interface | public interface Variable |
| Implementors | BaseVariable |
| Property | Defined By | ||
|---|---|---|---|
| name : String [read-only]
Indicates the name of this variable. | Variable | ||
| type : String [read-only]
Indicates the type of this variable. | Variable | ||
| Method | Defined By | ||
|---|---|---|---|
getBoolValue():Boolean
Retrieves the value of a boolean variable. | Variable | ||
getDoubleValue():Number
Retrieves the value of a numeric variable. | Variable | ||
getIntValue():int
Retrieves the value of an integer variable. | Variable | ||
Retrieves the value of a SFSArray variable. | Variable | ||
Retrieves the value of a SFSObject variable. | Variable | ||
getStringValue():String
Retrieves the value of a string variable. | Variable | ||
getValue():*
Retrieves the untyped value of this variable. | Variable | ||
isNull():Boolean
Indicates if the variable is null. | Variable | ||
| name | property |
name:String [read-only] Indicates the name of this variable.
public function get name():String| type | property |
type:String [read-only] Indicates the type of this variable.
public function get type():StringSee also
| getBoolValue | () | method |
public function getBoolValue():BooleanRetrieves the value of a boolean variable.
ReturnsBoolean — The variable value as a Boolean.
|
| getDoubleValue | () | method |
public function getDoubleValue():NumberRetrieves the value of a numeric variable.
ReturnsNumber — The variable value as a Number.
|
| getIntValue | () | method |
public function getIntValue():intRetrieves the value of an integer variable.
Returnsint — The variable value as an int.
|
| getSFSArrayValue | () | method |
public function getSFSArrayValue():ISFSArrayRetrieves the value of a SFSArray variable.
ReturnsISFSArray — The variable value as an ISFSArray.
|
| getSFSObjectValue | () | method |
public function getSFSObjectValue():ISFSObjectRetrieves the value of a SFSObject variable.
ReturnsISFSObject — The variable value as an ISFSObject.
|
| getStringValue | () | method |
public function getStringValue():StringRetrieves the value of a string variable.
ReturnsString — The variable value as a String.
|
| getValue | () | method |
public function getValue():*Retrieves the untyped value of this variable.
Returns* — The variable untyped value.
|
| isNull | () | method |
public function isNull():Boolean
Indicates if the variable is null.
Boolean — true if the variable has a null value.
|