All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cb.petal.InstantiatedClass Maven / Gradle / Ivy

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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy