public static <T> IRI ontology(final Class<T> clazz, final String purpose, final String entity) { return IRI.create(base(clazz) + OWLHelper._webSeparator + purpose + OWLHelper._entitySeparator + entity); } }
public static <T> IRI ontology(final Class<T> clazz, final String purpose, final String entity) { return IRI.create(base(clazz) + OWLHelper._webSeparator + purpose + OWLHelper._entitySeparator + entity); } }
/** * Work for property and individual * * @param clazz of the entity. The entity msut have a clazz, at least its class of creation. * @param entity the name of the object/individual. * @param <T> the type of the clazz * @return an IRI that is standard to the clazz and entity */ public static <T> IRI name(final Class<T> clazz, final String entity) { return IRI.create(base(clazz) + OWLHelper._entitySeparator + entity); }
/** * Work for property and individual * * @param clazz of the entity. The entity msut have a clazz, at least its class of creation. * @param entity the name of the object/individual. * @param <T> the type of the clazz * @return an IRI that is standard to the clazz and entity */ public static <T> IRI name(final Class<T> clazz, final String entity) { return IRI.create(base(clazz) + OWLHelper._entitySeparator + entity); }
/** * Work for property and individual * * @param clazz of the entity. The entity msut have a clazz, at least its class of creation. * @param entity the name of the object/individual. * @param <T> the type of the clazz * @return an IRI that is standard to the clazz and entity */ public static <T> IRI name(final Class<T> clazz, final String entity) { return IRI.create(base(clazz) + OWLHelper._entitySeparator + entity); }
public static <T> IRI ontology(final Class<T> clazz, final String purpose, final String entity) { return IRI.create(base(clazz) + OWLHelper._webSeparator + purpose + OWLHelper._entitySeparator + entity); } }
/** * @param <T> type of the class * @param clazz of the individual use to general the iri of the individual * @return a random iri that fit the name of an individiual * @since 2.5.1 */ public static <T> IRI rand(final Class<T> clazz) { return IRI.create(base(clazz) + OWLHelper._entitySeparator + randId(clazz.getSimpleName())); }
/** * @param <T> type of the class * @param clazz of the individual use to general the iri of the individual * @return a random iri that fit the name of an individiual * @since 2.5.1 */ public static <T> IRI rand(final Class<T> clazz) { return IRI.create(base(clazz) + OWLHelper._entitySeparator + randId(clazz.getSimpleName())); }
/** * @param <T> type of the class * @param clazz of the individual use to general the iri of the individual * @return a random iri that fit the name of an individiual * @since 2.5.1 */ public static <T> IRI rand(final Class<T> clazz) { return IRI.create(base(clazz) + OWLHelper._entitySeparator + randId(clazz.getSimpleName())); }
public static <T> IRI rand(final Class<T> clazz, final String entity) { return IRI.create(base(clazz) + OWLHelper._webSeparator + entity + OWLHelper._entitySeparator + randId(clazz.getSimpleName())); }
public static <T> IRI rand(final Class<T> clazz, final String entity) { return IRI.create(base(clazz) + OWLHelper._webSeparator + entity + OWLHelper._entitySeparator + randId(clazz.getSimpleName())); }
public static <T> IRI rand(final Class<T> clazz, final String entity) { return IRI.create(base(clazz) + OWLHelper._webSeparator + entity + OWLHelper._entitySeparator + randId(clazz.getSimpleName())); }