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 aPMembershipData
object with the specified parameters -
Method Summary
Modifier and TypeMethodDescriptionvoid
adds the memberships in the arraylistal
to thePMembershipData
void
addMembership
(com.portal.app.cc.sharing.PMembership membership) adds the membership to thePMembershipData
returns all the memberships from thePMembershipData
gets the orderBalGroupPoid ofPMembershipData
int
returns the ServiceNumberreturns the Service Poid ofPMembershipData
void
setMembership
(int position, com.portal.app.cc.sharing.PMembership membership) sets the membership to thePMembershipData
at the specified positionvoid
setServiceNo
(int servNo) sets the ServiceNumber
-
Constructor Details
-
PMembershipData
constructs aPMembershipData
object 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 thePMembershipData
at the specified position- Parameters:
position
- intmembership
- PMembership
-
addAll
adds the memberships in the arraylistal
to 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
-