/** * Creates a new relation with the given name and adds it to this * utterance. * * @param name the name of the new relation * * @return the newly created relation */ public Relation createRelation(String name) { Relation relation = new Relation(name, this); relations.setObject(name, relation); return relation; }
/** * Creates a new relation with the given name and adds it to this * utterance. * * @param name the name of the new relation * * @return the newly created relation */ public Relation createRelation(String name) { Relation relation = new Relation(name, this); relations.setObject(name, relation); return relation; }