Class PServiceInfo

java.lang.Object
com.portal.app.ccare.comp.PServiceInfo

public class PServiceInfo extends Object
PServiceName The object holds information about service type
Author:
Manjunatha L
  • Field Details

  • Constructor Details

    • PServiceInfo

      public PServiceInfo(String strServiceName)
      Constructor with paytype name
      Parameters:
      strServiceName - String
    • PServiceInfo

      public PServiceInfo(String strServiceName, Poid serviceObject)
      Constructor with paytype name and payinfo object
      Parameters:
      strServiceName - String
      serviceObject - Poid
    • PServiceInfo

      public PServiceInfo(String strServiceName, Poid serviceObject, int intServiceType)
      Constructor with paytype name, payinfo object and paytype id has params
      Parameters:
      strServiceName - String
      serviceObject - Poid
      intServiceType - int
  • Method Details

    • setServiceName

      public void setServiceName(String strServiceName)
      Set paytype name
      Parameters:
      strServiceName - String
    • getServiceName

      public String getServiceName()
      Returns stored paytype name
      Returns:
      String
    • setServiceObject

      public void setServiceObject(Poid serviceObject)
      Set payinfo object
      Parameters:
      serviceObject - Poid
    • getServiceObject

      public Poid getServiceObject()
      Returns pay info object poid
      Returns:
      Poid
    • setServiceType

      public void setServiceType(int intServiceType)
      Set pay type id
      Parameters:
      intServiceType - int
    • getServiceType

      public int getServiceType()
      Returns stored paytype id
      Returns:
      int
    • equals

      public boolean equals(Object obj)
      Compares this object to the specified object. The result is true if and only if the argument is not null and is an PServiceName object that contains the same payinfo object value as this object.
      Overrides:
      equals in class Object
      Parameters:
      obj - the object to compare with.
      Returns:
      true if the objects are the same; false otherwise.
    • toString

      public String toString()
      Returns string representation of paytype object
      Overrides:
      toString in class Object
      Returns:
      String