|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvisad.ThingReferenceImpl
visad.DataReferenceImpl
public class DataReferenceImpl
DataReferenceImpl is a local implementation of DataReference.
DataReferenceImpl is not Serializable and should not be copied between JVMs.
| Constructor Summary | |
|---|---|
DataReferenceImpl(java.lang.String name)
Constructs from a name for the instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
Data |
getData()
get referenced Data object, or null if none |
MathType |
getType()
get MathType of referenced Data object, or null if none; this is more efficient than getData().getType() for RemoteDataReferences |
void |
setData(Data d)
Sets the data object to which this instance refers. |
java.lang.String |
toString()
|
| Methods inherited from class visad.ThingReferenceImpl |
|---|
acknowledgeThingChanged, adaptedAcknowledgeThingChanged, adaptedPeekThingChanged, addThingChangedListener, findThingChangedLink, getName, getThing, getTick, incTick, peekThingChanged, removeThingChangedListener, setThing |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface visad.ThingReference |
|---|
acknowledgeThingChanged, addThingChangedListener, getName, getThing, getTick, incTick, peekThingChanged, removeThingChangedListener, setThing |
| Constructor Detail |
|---|
public DataReferenceImpl(java.lang.String name)
throws VisADException
name - The name for this instance.
VisADException - if the name is null.| Method Detail |
|---|
public Data getData()
DataReference
getData in interface DataReference
public MathType getType()
throws VisADException,
java.rmi.RemoteException
DataReference
getType in interface DataReferenceVisADException
java.rmi.RemoteException
public void setData(Data d)
throws VisADException,
java.rmi.RemoteException
setData in interface DataReferenced - The data object.
ReferenceException - if the data object is null.
RemoteVisADException - if the data object is a RemoteData.
VisADException
java.rmi.RemoteExceptionpublic boolean equals(java.lang.Object obj)
equals in class ThingReferenceImplpublic java.lang.String toString()
toString in class ThingReferenceImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||