com.ibm.tivoli.maximo.map

Class LBSCrewView

  • java.lang.Object
    • Constructor Detail

      • LBSCrewView

        public LBSCrewView(MboSet ms)
                    throws java.rmi.RemoteException
        Instantiates a new lBS crew view. This View joins the tables LBSLOCATION and AMCREW to get the crews that have LBSLOCATION properties defined Script V7510_88 defines it.
        Parameters:
        ms - the ms
        Throws:
        java.rmi.RemoteException - the remote exception
    • Method Detail

      • getAddressString

        public java.lang.String getAddressString()
                                          throws MXException,
                                                 java.rmi.RemoteException
        Description copied from interface: GISable
        Return a string with the address of the current entitty.
        Specified by:
        getAddressString in interface GISable
        Returns:
        Double or null
        Throws:
        MXException
        java.rmi.RemoteException
      • getLatitudeY

        public java.lang.Double getLatitudeY()
                                      throws MXException,
                                             java.rmi.RemoteException
        Description copied from interface: GISable
        Return a double value with the the Latitude (or Y) coordinate of the current entitty.
        Specified by:
        getLatitudeY in interface GISable
        Returns:
        Double or null
        Throws:
        MXException
        java.rmi.RemoteException
      • getLongitudeX

        public java.lang.Double getLongitudeX()
                                       throws MXException,
                                              java.rmi.RemoteException
        Description copied from interface: GISable
        Return a double value with the the Longitude (or X) coordinate of the current entitty.
        Specified by:
        getLongitudeX in interface GISable
        Returns:
        Double or null
        Throws:
        MXException
        java.rmi.RemoteException
      • hasCoords

        public java.lang.Boolean hasCoords()
                                    throws MXException,
                                           java.rmi.RemoteException
        Description copied from interface: GISable
        Check if this autolocatable object has coordinates filled (LAT,LONG)
        Specified by:
        hasCoords in interface GISable
        Returns:
        the boolean
        Throws:
        MXException - the mX exception
        java.rmi.RemoteException - the remote exception
      • getAltitude

        public java.lang.Double getAltitude()
                                     throws MXException,
                                            java.rmi.RemoteException
        Specified by:
        getAltitude in interface LBS
        Throws:
        MXException
        java.rmi.RemoteException
      • getHeading

        public java.lang.Double getHeading()
                                    throws MXException,
                                           java.rmi.RemoteException
        Specified by:
        getHeading in interface LBS
        Throws:
        MXException
        java.rmi.RemoteException
      • getLastUpdate

        public java.util.Date getLastUpdate()
                                     throws MXException,
                                            java.rmi.RemoteException
        Specified by:
        getLastUpdate in interface LBS
        Throws:
        MXException
        java.rmi.RemoteException
      • getSpeed

        public java.lang.Double getSpeed()
                                  throws MXException,
                                         java.rmi.RemoteException
        Specified by:
        getSpeed in interface LBS
        Throws:
        MXException
        java.rmi.RemoteException
      • isGISDataReadonly

        public boolean isGISDataReadonly()
                                  throws MXException,
                                         java.rmi.RemoteException
        Description copied from interface: GISable
        Indicate if the current GIS entity is editable or not. Usefull when the coordinates are populated using an external system.
        Specified by:
        isGISDataReadonly in interface GISable
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • saveGISData

        public void saveGISData(java.lang.String address,
                                java.lang.String lat,
                                java.lang.String lng)
                         throws MXException,
                                java.rmi.RemoteException
        Description copied from interface: GISable
        Implement the logic to save the GIS Data
        Specified by:
        saveGISData in interface GISable
        Throws:
        MXException
        java.rmi.RemoteException
      • saveLBSData

        public void saveLBSData(java.lang.Double lat,
                                java.lang.Double lng,
                                java.lang.Double locationAccuracy,
                                java.lang.Double altitudeAccuracy,
                                java.lang.Double altitude,
                                java.lang.Double heading,
                                java.lang.Double speed)
                         throws MXException,
                                java.rmi.RemoteException
        Specified by:
        saveLBSData in interface LBS
        Throws:
        MXException
        java.rmi.RemoteException