/** * Creates an {@link LexemeIdValue} for Wikidata. * * @param id * a string of the form Ln... where n... is the string * representation of a positive integer number * @return an {@link LexemeIdValue} corresponding to the input */ public static LexemeIdValue makeWikidataLexemeIdValue(String id) { return factory.getLexemeIdValue(id, SITE_WIKIDATA); }
/** * Creates an {@link LexemeIdValue} for Wikidata. * * @param id * a string of the form Ln... where n... is the string * representation of a positive integer number * @return an {@link LexemeIdValue} corresponding to the input */ public static LexemeIdValue makeWikidataLexemeIdValue(String id) { return factory.getLexemeIdValue(id, SITE_WIKIDATA); }
/** * Creates an {@link LexemeIdValue}. * * @param id * a string of the form Ln... where n... is 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 LexemeIdValue} corresponding to the input */ public static LexemeIdValue makeLexemeIdValue(String id, String siteIri) { return factory.getLexemeIdValue(id, siteIri); }
/** * Creates an {@link LexemeIdValue}. * * @param id * a string of the form Ln... where n... is 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 LexemeIdValue} corresponding to the input */ public static LexemeIdValue makeLexemeIdValue(String id, String siteIri) { return factory.getLexemeIdValue(id, siteIri); }
/** * Copies a {@link LexemeIdValue}. * * @param object * object to copy * @return copied object */ public LexemeIdValue copy(LexemeIdValue object) { return dataObjectFactory.getLexemeIdValue(object.getId(), object.getSiteIri()); }
/** * Copies a {@link LexemeIdValue}. * * @param object * object to copy * @return copied object */ public LexemeIdValue copy(LexemeIdValue object) { return dataObjectFactory.getLexemeIdValue(object.getId(), object.getSiteIri()); }