/** * Creates an {@link FormIdValue} for Wikidata. * * @param id * a string of the form Ln...-F... where n... and m... are the string * representation of a positive integer number * @return an {@link FormIdValue} corresponding to the input */ public static FormIdValue makeWikidataFormIdValue(String id) { return factory.getFormIdValue(id, SITE_WIKIDATA); }
/** * Creates an {@link FormIdValue} for Wikidata. * * @param id * a string of the form Ln...-F... where n... and m... are the string * representation of a positive integer number * @return an {@link FormIdValue} corresponding to the input */ public static FormIdValue makeWikidataFormIdValue(String id) { return factory.getFormIdValue(id, SITE_WIKIDATA); }
/** * Creates an {@link FormIdValue}. * * @param id * a string of the form Ln...-Fm... where n... and m... are the string * representation of a positive integer number * @param siteIri * IRI to identify the site, usually the first part of the entity * IRI of the site this belongs to, e.g., * "http://www.wikidata.org/entity/" * @return an {@link FormIdValue} corresponding to the input */ public static FormIdValue makeFormIdValue(String id, String siteIri) { return factory.getFormIdValue(id, siteIri); }
/** * Creates an {@link FormIdValue}. * * @param id * a string of the form Ln...-Fm... where n... and m... are the string * representation of a positive integer number * @param siteIri * IRI to identify the site, usually the first part of the entity * IRI of the site this belongs to, e.g., * "http://www.wikidata.org/entity/" * @return an {@link FormIdValue} corresponding to the input */ public static FormIdValue makeFormIdValue(String id, String siteIri) { return factory.getFormIdValue(id, siteIri); }