| Package | com.whirled.contrib.persist |
| Class | public class TypedArrayCookieProperty |
| Implements | CookieProperty |
| Subclasses | IntArrayCookieProperty, StringArrayCookieProperty |
| Property | Defined by | ||
|---|---|---|---|
| length : int | TypedArrayCookieProperty | ||
| name : String [read-only]
| TypedArrayCookieProperty | ||
| typeId : int [read-only]
| TypedArrayCookieProperty | ||
| value : Array | TypedArrayCookieProperty | ||
| Property | Defined by | ||
|---|---|---|---|
| _array : Array | TypedArrayCookieProperty | ||
| _manager : CookieManager | TypedArrayCookieProperty | ||
| _name : String | TypedArrayCookieProperty | ||
| type : Class [read-only]
| TypedArrayCookieProperty | ||
| _typeId : int | TypedArrayCookieProperty | ||
| Method | Defined by | ||
|---|---|---|---|
|
TypedArrayCookieProperty(manager:CookieManager, typeId:int, name:String, defaultValue:Array = null)
| TypedArrayCookieProperty | ||
|
deserialize(bytes:ByteArray):void
| TypedArrayCookieProperty | ||
|
getAt(idx:int):Object
| TypedArrayCookieProperty | ||
|
indexOf(obj:Object):int
| TypedArrayCookieProperty | ||
|
pop():Object
| TypedArrayCookieProperty | ||
|
push(obj:Object):void
| TypedArrayCookieProperty | ||
|
putAt(idx:int, obj:Object):void
| TypedArrayCookieProperty | ||
|
remove(obj:Object):Object
| TypedArrayCookieProperty | ||
|
removeAt(idx:int):Object
| TypedArrayCookieProperty | ||
|
serialize(bytes:ByteArray):void
| TypedArrayCookieProperty | ||
|
shift():Object
| TypedArrayCookieProperty | ||
|
toString():String
| TypedArrayCookieProperty | ||
|
unshift(obj:Object):void
| TypedArrayCookieProperty | ||
| Method | Defined by | ||
|---|---|---|---|
|
deserializeField(bytes:ByteArray):Object
| TypedArrayCookieProperty | ||
|
deserializeValue(bytes:ByteArray):Object
| TypedArrayCookieProperty | ||
|
requireValidValue(value:Object):void
| TypedArrayCookieProperty | ||
|
serializeField(bytes:ByteArray, value:Object):void
| TypedArrayCookieProperty | ||
|
serializeValue(bytes:ByteArray, value:Object):void
| TypedArrayCookieProperty | ||
|
valueCheck(value:Object):Boolean
| TypedArrayCookieProperty | ||
| Constant | Defined by | ||
|---|---|---|---|
| ARRAY_MARKER : int = 0 [static]
| TypedArrayCookieProperty | ||
| VALUE_MARKER : int = 1 [static]
| TypedArrayCookieProperty | ||
| _array | property |
protected var _array:Array
| length | property |
length:int [read-write]Implementation
public function get length():int
public function set length(value:int):void
| _manager | property |
protected var _manager:CookieManager
| _name | property |
protected var _name:String
| name | property |
name:String [read-only]Implementation
public function get name():String
| type | property |
type:Class [read-only]Implementation
protected function get type():Class
| _typeId | property |
protected var _typeId:int
| typeId | property |
typeId:int [read-only]Implementation
public function get typeId():int
| value | property |
value:Array [read-write]Implementation
public function get value():Array
public function set value(value:Array):void
| TypedArrayCookieProperty | () | constructor |
public function TypedArrayCookieProperty(manager:CookieManager, typeId:int, name:String, defaultValue:Array = null)Parameters
manager:CookieManager |
|
typeId:int |
|
name:String |
|
defaultValue:Array (default = null) |
| deserialize | () | method |
public function deserialize(bytes:ByteArray):voidParameters
bytes:ByteArray |
| deserializeField | () | method |
protected function deserializeField(bytes:ByteArray):ObjectParameters
bytes:ByteArray |
Object |
| deserializeValue | () | method |
protected function deserializeValue(bytes:ByteArray):ObjectParameters
bytes:ByteArray |
Object |
| getAt | () | method |
public function getAt(idx:int):ObjectParameters
idx:int |
Object |
| indexOf | () | method |
public function indexOf(obj:Object):intParameters
obj:Object |
int |
| pop | () | method |
public function pop():Object
Returns
Object |
| push | () | method |
public function push(obj:Object):voidParameters
obj:Object |
| putAt | () | method |
public function putAt(idx:int, obj:Object):voidParameters
idx:int |
|
obj:Object |
| remove | () | method |
public function remove(obj:Object):ObjectParameters
obj:Object |
Object |
| removeAt | () | method |
public function removeAt(idx:int):ObjectParameters
idx:int |
Object |
| requireValidValue | () | method |
protected function requireValidValue(value:Object):voidParameters
value:Object |
| serialize | () | method |
public function serialize(bytes:ByteArray):voidParameters
bytes:ByteArray |
| serializeField | () | method |
protected function serializeField(bytes:ByteArray, value:Object):voidParameters
bytes:ByteArray |
|
value:Object |
| serializeValue | () | method |
protected function serializeValue(bytes:ByteArray, value:Object):voidParameters
bytes:ByteArray |
|
value:Object |
| shift | () | method |
public function shift():Object
Returns
Object |
| toString | () | method |
public function toString():String
Returns
String |
| unshift | () | method |
public function unshift(obj:Object):voidParameters
obj:Object |
| valueCheck | () | method |
protected function valueCheck(value:Object):BooleanParameters
value:Object |
Boolean |
| ARRAY_MARKER | constant |
protected static const ARRAY_MARKER:int = 0
| VALUE_MARKER | constant |
protected static const VALUE_MARKER:int = 1