cb.petal.InstantiatedClass 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;
import java.util.Collection;
/**
* Represents Instantiated_Class object
*
* @version $Id: InstantiatedClass.java,v 1.9 2001/06/27 10:26:03 dahm Exp $
* @author M. Dahm
*/
public class InstantiatedClass extends DerivedClass {
public InstantiatedClass(PetalNode parent, Collection params) {
super(parent, "Instantiated_Class", params);
}
public InstantiatedClass() {
super("Instantiated_Class");
}
public void setActualParameter(String o) {
params.set(0, o);
}
public String getActualParameter() {
return (String)params.get(0);
}
public String getModule() {
return getPropertyAsString("module");
}
public void setModule(String o) {
defineProperty("module", o);
}
public InstantiationRelationship getInstantiationRelationship() {
return (InstantiationRelationship)getProperty("instantiation_relationship");
}
public void setInstantiationRelationship(InstantiationRelationship o) {
defineProperty("instantiation_relationship", o);
}
public String getNonclassname() {
return getPropertyAsString("nonclassname");
}
public void setNonclassname(String o) {
defineProperty("nonclassname", o);
}
}