// Author
template.setTimeAuthored(new DateValue("201209111400+0000"));
AuthorPersonUniversal author = createAuthorNiralSingh();
template.setAuthor(author);
// Custodian (Organisation hosting the EPaCCS)
CustodianOrganizationUniversal custodian = createCustodian();
template.setCustodianOrganisation(custodian);
// Recipients
RecipientPersonUniversal recipient = createRecipient();
template.addPrimaryRecipients(new PrimaryRecipient(recipient));