com.jstatcom.project
Class ProjectDataTypes
java.lang.Object
com.jstatcom.project.ProjectDataTypes
public final class ProjectDataTypes
- extends java.lang.Object
This enumeration contains all existing ProjectData
types. If
new data types are to be added, this class needs to be extended.
- Author:
- Markus Kraetzig
Constructor Summary |
ProjectDataTypes(java.lang.String name,
java.lang.String description)
Creates a data type instance with a name. |
Method Summary |
java.lang.String |
toString()
Gets string representation of this object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public final java.lang.String NAME
TS_DATA
public static final ProjectDataTypes TS_DATA
- Data type that is used to represent time series data.
ProjectDataTypes
public ProjectDataTypes(java.lang.String name,
java.lang.String description)
- Creates a data type instance with a name. A type with a certain name can
only be created once.
- Parameters:
name
- identifier of this project data typedescription
- a description for this data type
- Throws:
java.lang.IllegalStateException
- if a type with the same name has already been created before
java.lang.IllegalArgumentException
- if (name == null)
toString
public java.lang.String toString()
- Gets string representation of this object.
- Overrides:
toString
in class java.lang.Object
- Returns:
- a string