/** * Creates a responsible party metadata entry for OGC involvement. The organisation name is * automatically set to "Open Geospatial Consortium". * * @param role The OGC role (point of contact, owner, etc.) for a resource. * @param resource The URI to the resource. * @return Responsible party describing OGC involvement. * @since 2.2 */ public static ResponsibleParty OGC(final Role role, final OnLineResource resource) { final ContactImpl contact = new ContactImpl(resource); contact.freeze(); final ResponsiblePartyImpl ogc = new ResponsiblePartyImpl(role); ogc.setOrganisationName(OGC_NAME); ogc.setContactInfo(contact); ogc.freeze(); return ogc; }
party.setContactInfo(new ContactImpl(resource)); parties.add(party); authority = (Citation) citation.unmodifiable();
contactPerson.setContactInfo(contact);
/** * Creates a responsible party metadata entry for OGC involvement. * The organisation name is automatically set to "Open Geospatial Consortium". * * @param role The OGC role (point of contact, owner, etc.) for a resource. * @param resource The URI to the resource. * @return Responsible party describing OGC involvement. * * @since 2.2 */ public static ResponsibleParty OGC(final Role role, final OnLineResource resource) { final ContactImpl contact = new ContactImpl(resource); contact.freeze(); final ResponsiblePartyImpl ogc = new ResponsiblePartyImpl(role); ogc.setOrganisationName(OGC_NAME); ogc.setContactInfo(contact); ogc.freeze(); return ogc; }
/** * Creates a responsible party metadata entry for OGC involvement. * The organisation name is automatically set to "Open Geospatial Consortium". * * @param role The OGC role (point of contact, owner, etc.) for a resource. * @param resource The URI to the resource. * @return Responsible party describing OGC involvement. * * @since 2.2 */ public static ResponsibleParty OGC(final Role role, final OnLineResource resource) { final ContactImpl contact = new ContactImpl(resource); contact.freeze(); final ResponsiblePartyImpl ogc = new ResponsiblePartyImpl(role); ogc.setOrganisationName(OGC_NAME); ogc.setContactInfo(contact); ogc.freeze(); return ogc; }
ret.setContactInfo(contactInfo);
contactPerson.setContactInfo(contact);
contactPerson.setContactInfo(contact);