com.ibm.tivoli.maximo.map.interfaces

Interface GISable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getAddressString()
      Return a string with the address of the current entitty.
      java.lang.Double getLatitudeY()
      Return a double value with the the Latitude (or Y) coordinate of the current entitty.
      java.lang.Double getLongitudeX()
      Return a double value with the the Longitude (or X) coordinate of the current entitty.
      java.lang.Boolean hasCoords()
      Check if this autolocatable object has coordinates filled (LAT,LONG)
      boolean isGISDataReadonly()
      Indicate if the current GIS entity is editable or not.
      void saveGISData(java.lang.String address, java.lang.String lat, java.lang.String lng)
      Implement the logic to save the GIS Data
    • Method Detail

      • getLatitudeY

        java.lang.Double getLatitudeY()
                               throws MXException,
                                      java.rmi.RemoteException
        Return a double value with the the Latitude (or Y) coordinate of the current entitty.
        Returns:
        Double or null
        Throws:
        MXException
        java.rmi.RemoteException
      • getLongitudeX

        java.lang.Double getLongitudeX()
                                throws MXException,
                                       java.rmi.RemoteException
        Return a double value with the the Longitude (or X) coordinate of the current entitty.
        Returns:
        Double or null
        Throws:
        MXException
        java.rmi.RemoteException
      • getAddressString

        java.lang.String getAddressString()
                                   throws MXException,
                                          java.rmi.RemoteException
        Return a string with the address of the current entitty.
        Returns:
        Double or null
        Throws:
        MXException
        java.rmi.RemoteException
      • isGISDataReadonly

        boolean isGISDataReadonly()
                           throws MXException,
                                  java.rmi.RemoteException
        Indicate if the current GIS entity is editable or not. Usefull when the coordinates are populated using an external system.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • saveGISData

        void saveGISData(java.lang.String address,
                         java.lang.String lat,
                         java.lang.String lng)
                  throws MXException,
                         java.rmi.RemoteException
        Implement the logic to save the GIS Data
        Parameters:
        address -
        lat -
        lng -
        Throws:
        MXException
        java.rmi.RemoteException
      • hasCoords

        java.lang.Boolean hasCoords()
                             throws MXException,
                                    java.rmi.RemoteException
        Check if this autolocatable object has coordinates filled (LAT,LONG)
        Returns:
        the boolean
        Throws:
        MXException - the mX exception
        java.rmi.RemoteException - the remote exception