Class PMembershipData

java.lang.Object
com.portal.app.cc.sharing.PMembershipData

public class PMembershipData extends Object
This class is for creating a datastructure for holding the members details and its associatied services details
  • Constructor Details

    • PMembershipData

      public PMembershipData(Poid orderBalGroupPoid, Poid servPoid, int serviceNo)
      constructs a PMembershipData object with the specified parameters
      Parameters:
      orderBalGroupPoid - Poid
      servPoid - Poid
      serviceNo - int
  • Method Details

    • getServicePoid

      public Poid getServicePoid()
      returns the Service Poid of PMembershipData
      Returns:
      Poid
    • addMembership

      public void addMembership(com.portal.app.cc.sharing.PMembership membership)
      adds the membership to the PMembershipData
      Parameters:
      membership - PMembership
    • setMembership

      public void setMembership(int position, com.portal.app.cc.sharing.PMembership membership)
      sets the membership to the PMembershipData at the specified position
      Parameters:
      position - int
      membership - PMembership
    • addAll

      public void addAll(ArrayList al)
      adds the memberships in the arraylist al to the PMembershipData
      Parameters:
      al - ArrayList
    • getServiceNo

      public int getServiceNo()
      returns the ServiceNumber
      Returns:
      int
    • setServiceNo

      public void setServiceNo(int servNo)
      sets the ServiceNumber
      Parameters:
      servNo - int
    • getGroups

      public ArrayList getGroups()
      returns all the memberships from the PMembershipData
      Returns:
      ArrayList
    • getorderBalGroupPoid

      public Poid getorderBalGroupPoid()
      gets the orderBalGroupPoid of PMembershipData
      Returns:
      Poid