cb.petal.UseCase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.crazybeans Show documentation
Show all versions of org.crazybeans Show documentation
Java library to read, modify or create Rational Rose petal files
The newest version!
/**
* Copyright (c) 2001 Markus Dahm
* Copyright (C) 2015-2018 BITPlan GmbH http://www.bitplan.com
*
* This source is part of
* https://github.com/BITPlan/CrazyBeans
* and the license as outlined there applies
*/
package cb.petal;
/**
* Represents UseCase object
*
* @version $Id: UseCase.java,v 1.13 2001/07/30 15:50:33 dahm Exp $
* @author M. Dahm
*/
public class UseCase extends Inheritable {
static final long serialVersionUID = -6446937716836493799L;
public UseCase(PetalNode parent, java.util.Collection params) {
super(parent, "UseCase", params);
}
public UseCase() {
super("UseCase");
}
/** Add super use case of this use case, i.e. adds InheritanceRelationship to
* "superclasses" list.
* @return implicitly created relationship object
*/
public InheritanceRelationship addSuperUseCase(UseCase caze) {
return addSuperClassifier(caze);
}
public void accept(Visitor v) {
v.visit(this);
}
}