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

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

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

/**
 * Primary key column description.
 * 

* Its parent is a Primary key.
* Its name must be unique.
* Its is a leaf. * * @author Damien Carbonne * */ public final class RdbPrimaryKeyColumn extends RdbElement { private short ordinal; protected RdbPrimaryKeyColumn(String name, RdbPrimaryKey parent) { super(name, parent, false); } @Override public RdbElementKind getKind() { return RdbElementKind.PRIMARY_KEY_COLUMN; } @Override public RdbPrimaryKey getParent() { return (RdbPrimaryKey) super.getParent(); } public short getOrdinal() { return ordinal; } public void setOrdinal(short ordinal) { this.ordinal = ordinal; } public RdbTableColumn getColumn() { return getParent().getParent().getOptionalColumn(getName()); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy