Package com.portal.app.cc.sharing
Class PMembershipData
java.lang.Object
com.portal.app.cc.sharing.PMembershipData
This class is for creating a datastructure for holding the members
details and its associatied services details
-
Constructor Summary
ConstructorsConstructorDescriptionPMembershipData(Poid orderBalGroupPoid, Poid servPoid, int serviceNo) constructs aPMembershipDataobject with the specified parameters -
Method Summary
Modifier and TypeMethodDescriptionvoidadds the memberships in the arraylistalto thePMembershipDatavoidaddMembership(com.portal.app.cc.sharing.PMembership membership) adds the membership to thePMembershipDatareturns all the memberships from thePMembershipDatagets the orderBalGroupPoid ofPMembershipDataintreturns the ServiceNumberreturns the Service Poid ofPMembershipDatavoidsetMembership(int position, com.portal.app.cc.sharing.PMembership membership) sets the membership to thePMembershipDataat the specified positionvoidsetServiceNo(int servNo) sets the ServiceNumber
-
Constructor Details
-
PMembershipData
constructs aPMembershipDataobject with the specified parameters- Parameters:
orderBalGroupPoid- PoidservPoid- PoidserviceNo- int
-
-
Method Details
-
getServicePoid
returns the Service Poid ofPMembershipData- Returns:
- Poid
-
addMembership
public void addMembership(com.portal.app.cc.sharing.PMembership membership) adds the membership to thePMembershipData- Parameters:
membership- PMembership
-
setMembership
public void setMembership(int position, com.portal.app.cc.sharing.PMembership membership) sets the membership to thePMembershipDataat the specified position- Parameters:
position- intmembership- PMembership
-
addAll
adds the memberships in the arraylistalto thePMembershipData- 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
returns all the memberships from thePMembershipData- Returns:
- ArrayList
-
getorderBalGroupPoid
gets the orderBalGroupPoid ofPMembershipData- Returns:
- Poid
-