public class SSCellData
extends java.lang.Object
| Constructor and Description |
|---|
SSCellData(int id,
BasicSSCell ssCell,
DataReferenceImpl ref,
ConstantMap[] cmaps,
java.lang.String source,
int type,
boolean checkErrors)
Constructs a new SSCellData object, for encapsulating
a Data object and related information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Stops monitoring the data for changes.
|
ConstantMap[] |
getConstantMaps()
Gets the ConstantMaps associated with the reference.
|
Data |
getData()
Gets the Data object.
|
java.lang.String[] |
getErrors()
Gets the errors encountered when generating the Data object.
|
int |
getId()
Gets the ID number.
|
DataReferenceImpl |
getReference()
Gets the DataReference pointing to the data.
|
RemoteDataReferenceImpl |
getRemoteReference()
Gets the remote copy of the DataReference.
|
java.lang.String |
getSource()
Gets the source of the data, in String form.
|
int |
getSourceType()
Gets the source type of the data.
|
java.lang.String |
getVariableName()
Gets the variable name used for the data in the formula manager.
|
boolean |
isInited()
Returns whether this data's cell has finished initializing.
|
boolean |
othersDepend()
Gets whether other data depends on this data.
|
void |
setData(Data data)
Sets the data.
|
void |
setDependencies(Real real)
Sets whether others depend on this data.
|
void |
setError(java.lang.String error)
Sets a single error for the Data object.
|
void |
setErrors(java.lang.String[] errors)
Sets the errors for the Data object.
|
public SSCellData(int id,
BasicSSCell ssCell,
DataReferenceImpl ref,
ConstantMap[] cmaps,
java.lang.String source,
int type,
boolean checkErrors)
throws VisADException,
java.rmi.RemoteException
VisADExceptionjava.rmi.RemoteExceptionpublic int getId()
public Data getData()
public DataReferenceImpl getReference()
public ConstantMap[] getConstantMaps()
public RemoteDataReferenceImpl getRemoteReference()
public java.lang.String getSource()
public int getSourceType()
public java.lang.String getVariableName()
public java.lang.String[] getErrors()
public boolean othersDepend()
public boolean isInited()
public void setData(Data data) throws VisADException, java.rmi.RemoteException
VisADExceptionjava.rmi.RemoteExceptionpublic void setError(java.lang.String error)
public void setErrors(java.lang.String[] errors)
public void setDependencies(Real real)
public void destroy()