public static ParticipantObjectIdentification createParticipantObjectIdentification(
String id, ParticipantObjectIDTypeCode idType, String name,
byte[] query, String type, String role, String lifeCycle,
String sensitivity, ParticipantObjectDescription description,
ParticipantObjectDetail... details) {
ParticipantObjectIdentification poi = new ParticipantObjectIdentification();
poi.setParticipantObjectID(id);
poi.setParticipantObjectIDTypeCode(idType);
poi.setParticipantObjectName(name);
poi.setParticipantObjectQuery(query);
poi.setParticipantObjectTypeCode(type);
poi.setParticipantObjectTypeCodeRole(role);
poi.setParticipantObjectDataLifeCycle(lifeCycle);
poi.setParticipantObjectSensitivity(sensitivity);
poi.setParticipantObjectDescription(description);
for (ParticipantObjectDetail detail : details)
poi.getParticipantObjectDetail().add(detail);
return poi;
}