97 lines
2.4 KiB
Java
97 lines
2.4 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package com.tridium.sys.station;
|
|
|
|
import javax.baja.naming.OrdQuery;
|
|
import javax.baja.naming.OrdQueryList;
|
|
import javax.baja.naming.OrdTarget;
|
|
import javax.baja.space.BComponentSpace;
|
|
import javax.baja.space.BSpace;
|
|
import javax.baja.space.BSpaceScheme;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public class BStationScheme
|
|
extends BSpaceScheme {
|
|
static final StationQuery QUERY = new StationQuery();
|
|
public static final BStationScheme INSTANCE = new BStationScheme("station");
|
|
public static final Type TYPE;
|
|
static /* synthetic */ Class class$com$tridium$sys$station$BStationScheme;
|
|
|
|
public OrdQuery parse(String string) {
|
|
return QUERY;
|
|
}
|
|
|
|
public Type getSpaceType() {
|
|
return BComponentSpace.TYPE;
|
|
}
|
|
|
|
public OrdTarget resolve(OrdTarget ordTarget, OrdQuery ordQuery, BSpace bSpace) {
|
|
return new OrdTarget(ordTarget, (BComponentSpace)bSpace);
|
|
}
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
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());
|
|
}
|
|
}
|
|
|
|
private BStationScheme(String string) {
|
|
super(string);
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$com$tridium$sys$station$BStationScheme;
|
|
if (clazz == null) {
|
|
clazz = class$com$tridium$sys$station$BStationScheme = BStationScheme.class("[Lcom.tridium.sys.station.BStationScheme;", false);
|
|
}
|
|
TYPE = Sys.loadType(clazz);
|
|
}
|
|
|
|
static class StationQuery
|
|
implements OrdQuery {
|
|
public boolean isHost() {
|
|
return false;
|
|
}
|
|
|
|
public boolean isSession() {
|
|
return false;
|
|
}
|
|
|
|
public void normalize(OrdQueryList ordQueryList, int n) {
|
|
ordQueryList.shiftToSession(n);
|
|
}
|
|
|
|
public String getScheme() {
|
|
return "station";
|
|
}
|
|
|
|
public String getBody() {
|
|
return "";
|
|
}
|
|
|
|
public String toString() {
|
|
return "station:";
|
|
}
|
|
|
|
StationQuery() {
|
|
}
|
|
}
|
|
}
|
|
|