JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
ModelDescriptor.java
Go to the documentation of this file.
1 package jarmos;
2 
4 
5 import java.io.InputStream;
6 import java.util.Date;
7 
17 public class ModelDescriptor {
18 
24  public String modeldir;
25 
29  public String title;
30 
34  public ModelType type;
35 
39  public Date created;
40 
44  public String shortDescription = null;
45 
49  public InputStream image;
50 
51  public ModelDescriptor(String mdir, String t, ModelType type, InputStream i, Date created) {
52  modeldir = mdir;
53  title = t;
54  image = i;
55  this.type = type;
56  this.created = created;
57  }
58 }
ModelType type
The model type as string.
ModelDescriptor(String mdir, String t, ModelType type, InputStream i, Date created)
InputStream image
An input stream pointing to an available model image, if given.
String title
The model's title.
String modeldir
The model directory inside the current model managers model root source.
Known model types within the JaRMoSBase project.
Definition: ModelType.java:9
This class serves as base class for accessing various types of models at different locations...
Represents a short description of a model managed by a model manager.
Date created
The model creation date.
String shortDescription
A VERY short description of the model.