licence.setLicenceContents(licenceBean.getLicenceContents());
return licence;
}
private Party copyPartyBeanToParty(PartyBean pb) {
Party pa = new Party();
pa.setPartyKey(pb.getPartyKey());
pa.setPersonTitle(pb.getPersonTitle());
pa.setPersonGivenName(pb.getPersonGivenName());
pa.setPersonFamilyName(pb.getPersonFamilyName());
pa.setUrl(pb.getUrl());
pa.setEmail(pb.getEmail());
pa.setAddress(pb.getAddress());
pa.setIdentifierType(pb.getIdentifierType());
pa.setIdentifierValue(pb.getIdentifierValue());
pa.setOriginateSourceType(pb.getOriginateSourceType());
pa.setOriginateSourceValue(pb.getOriginateSourceValue());
pa.setGroupName(pb.getGroupName());
pa.setFromRm(pb.isFromRm());
return pa;
}