Package jahuwaldt.js.datareader
Interface DataElement
-
- All Superinterfaces:
java.lang.Comparable<DataElement>
- All Known Implementing Classes:
ArrayParam
,DataCase
,DataElementList
,DataParam
,DataSet
,ScalarParam
,TextParam
,UnitParameter
public interface DataElement extends java.lang.Comparable<DataElement>
Defines the interface in common to all data elements.Modified by: Joseph A. Huwaldt
- Version:
- February 23, 2025
- Author:
- Joseph A. Huwaldt, Date: March 5, 2003
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.ResourceBundle
RESOURCES
The resource bundle for this package.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.CharSequence
getName()
Return the name of this data element.java.lang.Object
getUserObject()
Return any user defined object associated with this data element.void
setName(java.lang.CharSequence newName)
Change the name of this data element to the specified name.void
setUserObject(java.lang.Object data)
Set the user defined object associated with this data element.
-
-
-
Field Detail
-
RESOURCES
static final java.util.ResourceBundle RESOURCES
The resource bundle for this package.
-
-
Method Detail
-
getName
java.lang.CharSequence getName()
Return the name of this data element.- Returns:
- The name of this data element.
-
setName
void setName(java.lang.CharSequence newName)
Change the name of this data element to the specified name.- Parameters:
newName
- The name of this data element.
-
getUserObject
java.lang.Object getUserObject()
Return any user defined object associated with this data element. If there is no user data, then null is returned.- Returns:
- The user defined object associated with this data element or null if there isn't any.
-
setUserObject
void setUserObject(java.lang.Object data)
Set the user defined object associated with this data element. This can be used to store any type of information with a data element that could be useful.- Parameters:
data
- The user data to associate with this element.
-
-