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

cb.petal.ParameterizedClass 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 Parameterized_Class object
 *
 * @version $Id: ParameterizedClass.java,v 1.9 2001/06/27 10:26:03 dahm Exp $
 * @author  M. Dahm
 */
public class ParameterizedClass extends DerivedClass {
  public ParameterizedClass(PetalNode parent, Collection params) {
    super(parent, "Parameterized_Class", params);
  }

  public ParameterizedClass() {
    super("Parameterized_Class");
  }

  public void setFormalParameter(String o) {
    params.set(0, o);
  }

  public String getFormalParameter() {
    return (String)params.get(0);
  }

  public String getModule() {
    return getPropertyAsString("module");
  }

  public void setModule(String o) {
    defineProperty("module", o);
  }

  public PetalNodeList getNestedClasses() {
    return (PetalNodeList)getProperty("nestedClasses");
  }

  public void setNestedClasses(PetalNodeList o) {
    defineProperty("nestedClasses", o);
  }

  public String getNonclassname() {
    return getPropertyAsString("nonclassname");
  }

  public void setNonclassname(String o) {
    defineProperty("nonclassname", o);
  }

  public boolean getAbstract() {
    return getPropertyAsBoolean("abstract");
  }

  public void setAbstract(boolean o) {
    defineProperty("abstract", o);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy