org.jdesktop.wonderland.client.modules
Class CachedModule

java.lang.Object
  extended by org.jdesktop.wonderland.client.modules.CachedModule

public class CachedModule
extends java.lang.Object

The CachedModule class stores information about a single module, such as its basic information (ModuleInfo), its repository information, the list of checksums for its assets, a list of assets, and list of WFSs.

All CacheModule objects must be created with a ModuleInfo that identifies the module uniquely.

Author:
Jordan Slott

Constructor Summary
CachedModule(java.lang.String serverURL, ModuleInfo moduleInfo)
          Constructor, takes the essential module information
 
Method Summary
 ModuleArtList getArt()
          Returns the list of module art, loading it from the server if necessary.
 ModuleInfo getInfo()
          Returns the basic module information.
 ChecksumList getModuleChecksums()
          Returns a list of the checksums for the module assets, loading it from the server if necessary.
 ModuleRepository getModuleRepositories()
          Returns a list of the repositories for the module, loading it from the server if necessary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedModule

public CachedModule(java.lang.String serverURL,
                    ModuleInfo moduleInfo)
Constructor, takes the essential module information

Method Detail

getInfo

public ModuleInfo getInfo()
Returns the basic module information.

Returns:
The ModuleInfo object for the module

getArt

public ModuleArtList getArt()
Returns the list of module art, loading it from the server if necessary.

Returns:
A list of module art

getModuleChecksums

public ChecksumList getModuleChecksums()
Returns a list of the checksums for the module assets, loading it from the server if necessary.

Returns:
The module checksum information

getModuleRepositories

public ModuleRepository getModuleRepositories()
Returns a list of the repositories for the module, loading it from the server if necessary.

Returns:
The module repository information


Open Wonderland - http://openwonderland.org