Class DataProxy


  • public class DataProxy
    extends ProxyObj<Data>
    Stores information about a data item in a program such that the data item can be retrieved when needed.
    • Constructor Summary

      Constructors 
      Constructor Description
      DataProxy​(ListingModel model, Program program, Data data)
      Construct a proxy for the given Data object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Data getObject()
      Returns the object that this proxy represents or null if the represented object no longer exists.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataProxy

        public DataProxy​(ListingModel model,
                         Program program,
                         Data data)
        Construct a proxy for the given Data object.
        Parameters:
        program - the program containing the data object.
        data - the Data object to proxy.
    • Method Detail

      • getObject

        public Data getObject()
        Description copied from class: ProxyObj
        Returns the object that this proxy represents or null if the represented object no longer exists.
        Specified by:
        getObject in class ProxyObj<Data>
        Returns:
        the object that this proxy represents or null if the represented object no longer exists.
        See Also:
        ProxyObj.getObject()