2026-03-17 13:31:18 -07:00

98 lines
2.0 KiB
Java

/*
* Decompiled with CFR 0.152.
*/
package com.tridium.util;
import javax.baja.sys.Action;
import javax.baja.sys.BObject;
import javax.baja.sys.Context;
import javax.baja.sys.CursorException;
import javax.baja.sys.Property;
import javax.baja.sys.Slot;
import javax.baja.sys.SlotCursor;
import javax.baja.sys.Topic;
public class EmptySlotCursor
implements SlotCursor {
private BObject target;
private Context context;
public BObject get() {
return null;
}
public Context getContext() {
return this.context;
}
public boolean next() {
return false;
}
public boolean next(Class clazz) {
return false;
}
public boolean nextComponent() {
return false;
}
public BObject target() {
return this.target;
}
public boolean nextObject() {
return false;
}
public Slot slot() {
throw new CursorException("Empty Slot Cursor");
}
public Property property() {
throw new CursorException("Empty Slot Cursor");
}
public Action action() {
throw new CursorException("Empty Slot Cursor");
}
public Topic topic() {
throw new CursorException("Empty Slot Cursor");
}
public int getTypeAccess() {
throw new CursorException("Empty Slot Cursor");
}
public boolean getBoolean() {
throw new CursorException("Empty Slot Cursor");
}
public int getInt() {
throw new CursorException("Empty Slot Cursor");
}
public long getLong() {
throw new CursorException("Empty Slot Cursor");
}
public float getFloat() {
throw new CursorException("Empty Slot Cursor");
}
public double getDouble() {
throw new CursorException("Empty Slot Cursor");
}
public String getString() {
throw new CursorException("Empty Slot Cursor");
}
public EmptySlotCursor(BObject bObject, Context context) {
this.target = bObject;
this.context = context;
}
}