Class MapServiceObj

java.lang.Object
com.portal.app.cc.MapServiceObj
All Implemented Interfaces:
Comparable

public class MapServiceObj extends Object implements Comparable
Class for storing a service related information during transition operation
  • Field Details

  • Constructor Details

    • MapServiceObj

      public MapServiceObj(FList serviceObj)
      Constructs MapServiceObj with the given serviceObj
      Parameters:
      serviceObj -
    • MapServiceObj

      public MapServiceObj(int mapServiceType)
      Constructs a MapServiceObj of given mapServiceType
      Parameters:
      mapServiceType -
  • Method Details

    • toString

      public String toString()
      Returns the service id
      Overrides:
      toString in class Object
      Returns:
    • getServiceId

      public String getServiceId()
      Returns the service id
      Returns:
    • getServiceType

      public String getServiceType()
      Returns the service type
      Returns:
    • getServiceData

      public FList getServiceData()
      Returns the service dat
      Returns:
    • compareTo

      public int compareTo(Object obj)
      Compare the current object with the new object for sorting it. This is for listing the service type in the Map info combo box.
      Specified by:
      compareTo in interface Comparable
      Parameters:
      obj - , object needs to be compared.
      Returns:
      the result of comparison