com.ibm.tivoli.maximo.skd.service

Class SKDOriginDestMatrixPointParams

  • java.lang.Object
    • com.ibm.tivoli.maximo.skd.service.SKDOriginDestMatrixPointParams


  • public class SKDOriginDestMatrixPointParams
    extends java.lang.Object
    This class is just a container for data handled by the updateTravelTimeMatrixFor API in SKDAppService The data stored here represent a Maximo record with its latitude/position position and an identifier (pointId and isPointOnTheFly) The pointId can be either a service address' ADDRESSCODE or a work order's WORKORDERID, depending on the "isPointOnTheFly" attribute. Here "on the fly" means that a record location has been set manually on the map (instead of associating the record with a service address)
    • Constructor Detail

      • SKDOriginDestMatrixPointParams

        public SKDOriginDestMatrixPointParams(java.lang.String id,
                                              java.lang.Boolean isOnTheFly,
                                              SKDMAPInputParamInfo pt)
      • SKDOriginDestMatrixPointParams

        public SKDOriginDestMatrixPointParams(java.lang.String id,
                                              java.lang.Boolean isOnTheFly)
        This constructor can be used when the point attribute is not important
    • Method Detail

      • getId

        public java.lang.String getId()
      • setId

        public void setId(java.lang.String id)
      • isOnTheFly

        public java.lang.Boolean isOnTheFly()
      • setOnTheFly

        public void setOnTheFly(java.lang.Boolean isOnTheFly)
      • hashCode

        public int hashCode()
        Two instances of this class are considered to be equal if both pointId and isPointOnTheFly are the same
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object obj)
        Two instances of this class are considered to be equal if both pointId and isPointOnTheFly are the same
        Overrides:
        equals in class java.lang.Object