Package com.portal.app.cc
Class MapServiceObj
java.lang.Object
com.portal.app.cc.MapServiceObj
- All Implemented Interfaces:
Comparable
Class for storing a service related information during transition operation
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMapServiceObj
(int mapServiceType) Constructs a MapServiceObj of given mapServiceTypeMapServiceObj
(FList serviceObj) Constructs MapServiceObj with the given serviceObj -
Method Summary
Modifier and TypeMethodDescriptionint
Compare the current object with the new object for sorting it.Returns the service datReturns the service idReturns the service typetoString()
Returns the service id
-
Field Details
-
DUMMY
public static final int DUMMY- See Also:
-
DUMMY_SERVICE_ID
- See Also:
-
-
Constructor Details
-
MapServiceObj
Constructs MapServiceObj with the given serviceObj- Parameters:
serviceObj
-
-
MapServiceObj
public MapServiceObj(int mapServiceType) Constructs a MapServiceObj of given mapServiceType- Parameters:
mapServiceType
-
-
-
Method Details
-
toString
Returns the service id -
getServiceId
Returns the service id- Returns:
-
getServiceType
Returns the service type- Returns:
-
getServiceData
Returns the service dat- Returns:
-
compareTo
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 interfaceComparable
- Parameters:
obj
- , object needs to be compared.- Returns:
- the result of comparison
-