/** A factory method to create an instance of a delegation {@link ActedOnBehalfOf} * @param id identifier for the delegation association between delegate and responsible * @param delegate identifier for the agent associated with an activity, acting on behalf of the responsible agent * @param responsible identifier for the agent, on behalf of which the delegate agent acted * @param activity optional identifier of an activity for which the delegation association holds * @return an instance of {@link ActedOnBehalfOf} */ public ActedOnBehalfOf newActedOnBehalfOf(QualifiedName id, QualifiedName delegate, QualifiedName responsible, QualifiedName activity) { ActedOnBehalfOf res = of.createActedOnBehalfOf(); res.setId(id); res.setActivity(activity); res.setDelegate(delegate); res.setResponsible(responsible); return res; }
/** A factory method to create an instance of a delegation {@link ActedOnBehalfOf} * @param id identifier for the delegation association between delegate and responsible * @param delegate identifier for the agent associated with an activity, acting on behalf of the responsible agent * @param responsible identifier for the agent, on behalf of which the delegate agent acted * @param activity optional identifier of an activity for which the delegation association holds * @return an instance of {@link ActedOnBehalfOf} */ public ActedOnBehalfOf newActedOnBehalfOf(QualifiedName id, QualifiedName delegate, QualifiedName responsible, QualifiedName activity) { ActedOnBehalfOf res = of.createActedOnBehalfOf(); res.setId(id); res.setActivity(activity); res.setDelegate(delegate); res.setResponsible(responsible); return res; }
public ActedOnBehalfOf newActedOnBehalfOf(QualifiedName id, QualifiedName delegate, QualifiedName responsible, QualifiedName activity, Collection<Attribute> attributes) { ActedOnBehalfOf res = of.createActedOnBehalfOf(); res.setId(id); res.setActivity(activity); res.setDelegate(delegate); res.setResponsible(responsible); setAttributes(res, attributes); return res; }
public ActedOnBehalfOf newActedOnBehalfOf(QualifiedName id, QualifiedName delegate, QualifiedName responsible, QualifiedName activity, Collection<Attribute> attributes) { ActedOnBehalfOf res = of.createActedOnBehalfOf(); res.setId(id); res.setActivity(activity); res.setDelegate(delegate); res.setResponsible(responsible); setAttributes(res, attributes); return res; }