public class ModuleResource
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ModuleResource(long moduleId,
java.lang.String fileName,
java.lang.String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(ProcessModel element)
Add an element to this module resource.
|
java.util.List<ProcessModel> |
getElements()
Gets an unmodifiable list of elements in this resource.
|
java.lang.String |
getFileName()
Gets the file name of this resource.
|
long |
getModuleId()
Gets the identifier of the module in which this resource is defined.
|
java.lang.String |
getType()
Gets the type of this resource.
|
java.lang.String |
toString() |
public ModuleResource(long moduleId,
java.lang.String fileName,
java.lang.String type)
moduleId - the identifier of the module this resource is defined infileName - the file name of the resourcetype - public void addElement(ProcessModel element)
element - the element to add to this resourcepublic java.util.List<ProcessModel> getElements()
public long getModuleId()
public java.lang.String getFileName()
public java.lang.String getType()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.