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

cdc.util.rdb.RdbProcedure Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package cdc.util.rdb;

/**
 * Procedure description.
 * 

* Its parent is a Schema.
* Its name must NOT be unique.
* Its content is: *

    *
  • Procedure columns *
* * @author Damien Carbonne * */ public final class RdbProcedure extends RdbElement { private String specificName; private ProcedureResultType resultType; RdbProcedure(String name, RdbSchema parent) { super(name, parent, true); } @Override public final RdbElementKind getKind() { return RdbElementKind.PROCEDURE; } @Override public RdbSchema getParent() { return getParent(RdbSchema.class); } public RdbProcedureColumn createColumn(String name) { return new RdbProcedureColumn(name, this); } public Iterable getColumns() { return getChildren(RdbProcedureColumn.class); } public RdbProcedureColumn getOptionalColumn(String name) { return getFirstChild(RdbProcedureColumn.class, name); } public RdbProcedureColumn getColumn(String name) { return notNull(getOptionalColumn(name), "procedure column", name); } public String getSpecificName() { return specificName; } public void setSpecificName(String specificName) { this.specificName = specificName; } public ProcedureResultType getResultType() { return resultType; } public void setResultType(ProcedureResultType resultType) { this.resultType = resultType; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy