Packageorg.vostokframework.domain.assets
Classpublic class AssetPackage
InheritanceAssetPackage Inheritance Object
Implements org.as3coreaddendum.system.IEquatable, org.as3coreaddendum.system.IDisposable

description



Public Properties
 PropertyDefined By
  identification : VostokIdentification
[read-only] description
AssetPackage
Public Methods
 MethodDefined By
  
description
AssetPackage
  
addAsset(asset:Asset):Boolean
description
AssetPackage
  
addAssets(assets:IList):Boolean
description
AssetPackage
  
clear():void
description
AssetPackage
  
containsAsset(identification:VostokIdentification):Boolean
description
AssetPackage
  
dispose():void
AssetPackage
  
equals(other:*):Boolean
AssetPackage
  
description
AssetPackage
  
getAssets():ReadOnlyArrayList
description
AssetPackage
  
isEmpty():Boolean
description
AssetPackage
  
removeAsset(identification:VostokIdentification):Boolean
description
AssetPackage
  
removeAssets(assets:IList):Boolean
description
AssetPackage
  
size():int
description
AssetPackage
  
toString():String
description
AssetPackage
Property Detail
identificationproperty
identification:VostokIdentification  [read-only]

description


Implementation
    public function get identification():VostokIdentification
Constructor Detail
AssetPackage()Constructor
public function AssetPackage(identification:VostokIdentification)

description

Parameters
identification:VostokIdentification

Throws
ArgumentError — if the <codeph>id</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
 
ArgumentError — if the <codeph>locale</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
Method Detail
addAsset()method
public function addAsset(asset:Asset):Boolean

description

Parameters

asset:Asset

Returns
Boolean

Throws
ArgumentError — if the <codeph>asset</codeph> argument is <codeph>null</codeph>.
addAssets()method 
public function addAssets(assets:IList):Boolean

description

Parameters

assets:IList

Returns
Boolean

Throws
ArgumentError — if the <codeph>assets</codeph> argument is <codeph>null</codeph>.
 
ArgumentError — if the <codeph>assets</codeph> argument contains any <codeph>null</codeph> element.
clear()method 
public function clear():void

description

containsAsset()method 
public function containsAsset(identification:VostokIdentification):Boolean

description

Parameters

identification:VostokIdentification

Returns
Boolean

Throws
ArgumentError — if the <codeph>assetId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
dispose()method 
public function dispose():void

equals()method 
public function equals(other:*):Boolean

Parameters

other:*

Returns
Boolean
getAsset()method 
public function getAsset(identification:VostokIdentification):Asset

description

Parameters

identification:VostokIdentification

Returns
Asset

Throws
ArgumentError — if the <codeph>assetId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
getAssets()method 
public function getAssets():ReadOnlyArrayList

description

Returns
ReadOnlyArrayList
isEmpty()method 
public function isEmpty():Boolean

description

Returns
Boolean
removeAsset()method 
public function removeAsset(identification:VostokIdentification):Boolean

description

Parameters

identification:VostokIdentification

Returns
Boolean

Throws
ArgumentError — if the <codeph>assetId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
removeAssets()method 
public function removeAssets(assets:IList):Boolean

description

Parameters

assets:IList

Returns
Boolean

Throws
ArgumentError — if the <codeph>assets</codeph> argument is <codeph>null</codeph>.
size()method 
public function size():int

description

Returns
int
toString()method 
public function toString():String

description

Returns
String