Class DataType
java.lang.Object
|
+----DataType
- class DataType
- extends Object
The type of the data a module operates on.
- Version:
- $Revision: 1.10 $
-
codeClass
- The class that holds the code for each `variable' of this data
type.
-
defaultFixedFileName
- The default fixed filename as it is defined in the module description
file.
-
logicalType
- The logical data type.
-
logicalTypeTag
- Analogue to
physicalTypeTag
.
-
physicalType
- The physical data type.
-
physicalTypeTag
- A short version of the physical data type.
-
DataType(String, String, String)
-
-
getCodeClass()
-
-
getDataClassName()
- A data class can be determined by the physical type.
-
getDefaultFixedFileName()
-
-
getLogicalType()
-
-
getLogicalTypeTag()
-
-
getPhysicalType()
-
-
getPhysicalTypeTag()
-
physicalType
private String physicalType
- The physical data type. Identifies the physical data type of
a connector, what the extension would be if it was stored on
disk. For example gif, mrp or txt.
logicalType
private String logicalType
- The logical data type. A data type is identified by a
physical type and a logical type. One physical type can be
divided into different connectors by its logical type. This
allows the framework to recognise a distinction between two
connectors that both have the same physical type. For example:
the logical types eyes and mouth.
The logical type also determines the name of the class that
holds the code for each `variable' of this data type. This is
a class that implements the framework.Data interface.
- See Also:
- Data
physicalTypeTag
private String physicalTypeTag
- A short version of the physical data type. This string can be used
in the construction of the actual file name the data is stored in,
while
physicalType
is a more descriptive string.
logicalTypeTag
private String logicalTypeTag
- Analogue to
physicalTypeTag
.
- See Also:
- physicalType
defaultFixedFileName
private String defaultFixedFileName
- The default fixed filename as it is defined in the module description
file.
codeClass
private Class codeClass
- The class that holds the code for each `variable' of this data
type. This class must implement the framework.Data interface.
- See Also:
- Data
DataType
DataType(String physicalType,
String logicalType,
String defaultFixedFileName)
getPhysicalType
String getPhysicalType()
getLogicalType
String getLogicalType()
getPhysicalTypeTag
String getPhysicalTypeTag()
getLogicalTypeTag
String getLogicalTypeTag()
getDefaultFixedFileName
String getDefaultFixedFileName()
getDataClassName
public String getDataClassName()
- A data class can be determined by the physical type.
getCodeClass
Class getCodeClass() throws ClassNotFoundException
- Returns:
- A Class object for the class that holds the code for this
data type. This class is dynamically loaded the first time
this method is called. The name of the file the bytecode is
loaded from is
logicalType
.
- Throws: ClassNotFoundException
- if the class
could not be found.
- See Also:
- logicalType, Class