98 lines
2.4 KiB
Java
98 lines
2.4 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package com.tridium.data;
|
|
|
|
import javax.baja.collection.Column;
|
|
import javax.baja.data.BIDataTable;
|
|
import javax.baja.sys.BFacets;
|
|
import javax.baja.sys.BObject;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public class BDataRow
|
|
extends BObject {
|
|
public static final Type TYPE;
|
|
private BIDataTable table;
|
|
private int row;
|
|
static /* synthetic */ Class class$com$tridium$data$BDataRow;
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public BDataRow copy() {
|
|
return new BDataRow(this.table, this.row);
|
|
}
|
|
|
|
public void setRow(int n) {
|
|
this.row = n;
|
|
}
|
|
|
|
public BObject get(Column column) {
|
|
return this.table.get(this.row, column);
|
|
}
|
|
|
|
public String getString(Column column) {
|
|
return this.table.getString(this.row, column);
|
|
}
|
|
|
|
public double getDouble(Column column) {
|
|
return this.table.getDouble(this.row, column);
|
|
}
|
|
|
|
public float getFloat(Column column) {
|
|
return this.table.getFloat(this.row, column);
|
|
}
|
|
|
|
public int getInt(Column column) {
|
|
return this.table.getInt(this.row, column);
|
|
}
|
|
|
|
public long getLong(Column column) {
|
|
return this.table.getLong(this.row, column);
|
|
}
|
|
|
|
public boolean getBoolean(Column column) {
|
|
return this.table.getBoolean(this.row, column);
|
|
}
|
|
|
|
public int getFlags(Column column) {
|
|
return this.table.getFlags(this.row, column);
|
|
}
|
|
|
|
public BFacets getFacets(Column column) {
|
|
return this.table.getFacets(this.row, column);
|
|
}
|
|
|
|
static /* synthetic */ Class class(String string, boolean bl) {
|
|
try {
|
|
Class<?> clazz = Class.forName(string);
|
|
if (!bl) {
|
|
clazz = clazz.getComponentType();
|
|
}
|
|
return clazz;
|
|
}
|
|
catch (ClassNotFoundException classNotFoundException) {
|
|
throw new NoClassDefFoundError(classNotFoundException.getMessage());
|
|
}
|
|
}
|
|
|
|
public BDataRow(BIDataTable bIDataTable, int n) {
|
|
this.table = bIDataTable;
|
|
this.row = n;
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$com$tridium$data$BDataRow;
|
|
if (clazz == null) {
|
|
clazz = class$com$tridium$data$BDataRow = BDataRow.class("[Lcom.tridium.data.BDataRow;", false);
|
|
}
|
|
TYPE = Sys.loadType(clazz);
|
|
}
|
|
}
|
|
|