public class Module extends Object implements Serializable
Module
between server and remote clientModifier | Constructor and Description |
---|---|
protected |
Module()
Creates new instance.
|
|
Module(long id,
String name,
String version,
String description,
String hash,
String compatibilityVersion,
Date uploadDate,
Date unloadDate,
boolean system,
boolean executable,
boolean createProcessLog,
Collection<ModuleEntry> entries,
Collection<Module> importedModules)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Collection<Module> |
getAllImports()
Returns a collection of all imported modules.
|
String |
getCompatibilityVersion()
Returns compatibility version.
|
CompatibilityVersion |
getCompatibilityVersionEnum()
Returns compatibility version.
|
String |
getDescription()
Returns the description.
|
List<ModuleEntry> |
getEntries()
Returns a list of the entries.
|
String |
getHash()
Returns the hash.
|
long |
getId()
Returns the id.
|
Module |
getImport(String name)
Returns an imported module (directly or indirectly) for the given name.
|
Collection<Module> |
getImports()
Returns a collection of directly imported modules.
|
String |
getName()
Returns the name.
|
Date |
getUnloadDate()
Returns the unload date.
|
Date |
getUploadDate()
Returns the upload date.
|
String |
getVersion()
Returns the version.
|
int |
hashCode() |
boolean |
isCreateProcessLog() |
boolean |
isExecutable()
Returns true if this module is executable.
|
boolean |
isSystem()
Returns true if this is a system module.
|
String |
toString() |
protected Module()
public Module(long id, String name, String version, String description, String hash, String compatibilityVersion, Date uploadDate, Date unloadDate, boolean system, boolean executable, boolean createProcessLog, Collection<ModuleEntry> entries, Collection<Module> importedModules)
id
- name
- version
- description
- hash
- compatibilityVersion
- uploadDate
- unloadDate
- system
- executable
- createProcessLog
- a flag indicating if a process log is created during execution
of this model instanceentries
- importedModules
- public long getId()
public String getName()
public String getVersion()
public String getCompatibilityVersion()
public CompatibilityVersion getCompatibilityVersionEnum()
public String getDescription()
public Date getUploadDate()
public Date getUnloadDate()
public boolean isExecutable()
public boolean isCreateProcessLog()
public String getHash()
public List<ModuleEntry> getEntries()
public Collection<Module> getImports()
public Collection<Module> getAllImports()
public Module getImport(String name)
name
- public boolean isSystem()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.