/** A factory method to create an instance of an attribution {@link WasAttributedTo} * @param id an optional identifier for the relation * @param entity an entity identifier * @param agent the identifier of the agent whom the entity is ascribed to, and therefore bears some responsibility for its existence * @return an instance of {@link WasAttributedTo} */ public WasAttributedTo newWasAttributedTo(QualifiedName id, QualifiedName entity, QualifiedName agent) { WasAttributedTo res = of.createWasAttributedTo(); res.setId(id); res.setEntity(entity); res.setAgent(agent); return res; }
/** A factory method to create an instance of an attribution {@link WasAttributedTo} * @param id an optional identifier for the relation * @param entity an entity identifier * @param agent the identifier of the agent whom the entity is ascribed to, and therefore bears some responsibility for its existence * @return an instance of {@link WasAttributedTo} */ public WasAttributedTo newWasAttributedTo(QualifiedName id, QualifiedName entity, QualifiedName agent) { WasAttributedTo res = of.createWasAttributedTo(); res.setId(id); res.setEntity(entity); res.setAgent(agent); return res; }
public WasAttributedTo newWasAttributedTo(QualifiedName id, QualifiedName entity, QualifiedName agent, Collection<Attribute> attributes) { WasAttributedTo res = of.createWasAttributedTo(); res.setId(id); res.setEntity(entity); res.setAgent(agent); setAttributes(res, attributes); return res; }
public WasAttributedTo newWasAttributedTo(QualifiedName id, QualifiedName entity, QualifiedName agent, Collection<Attribute> attributes) { WasAttributedTo res = of.createWasAttributedTo(); res.setId(id); res.setEntity(entity); res.setAgent(agent); setAttributes(res, attributes); return res; }