54 lines
1.2 KiB
Java
54 lines
1.2 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package com.tridium.sys.schema;
|
|
|
|
import com.tridium.sys.schema.NAction;
|
|
import com.tridium.sys.schema.NProperty;
|
|
import javax.baja.sys.Action;
|
|
import javax.baja.sys.BAction;
|
|
import javax.baja.sys.BFacets;
|
|
import javax.baja.sys.BValue;
|
|
import javax.baja.sys.Type;
|
|
|
|
public class NActionProperty
|
|
extends NProperty
|
|
implements Action {
|
|
public final boolean isAction() {
|
|
return true;
|
|
}
|
|
|
|
public final Action asAction() {
|
|
return this;
|
|
}
|
|
|
|
public final Type getParameterType() {
|
|
return ((BAction)this.value).getParameterType();
|
|
}
|
|
|
|
public final Type getReturnType() {
|
|
return ((BAction)this.value).getReturnType();
|
|
}
|
|
|
|
public final BValue getParameterDefault() {
|
|
return ((BAction)this.value).getParameterDefault();
|
|
}
|
|
|
|
public BFacets getFacets() {
|
|
BFacets bFacets = ((BAction)this.value).getFacets();
|
|
if (bFacets == null || bFacets.isNull()) {
|
|
return super.getFacets();
|
|
}
|
|
return bFacets;
|
|
}
|
|
|
|
public String toString() {
|
|
return NAction.toString(this);
|
|
}
|
|
|
|
public NActionProperty(String string, int n, BAction bAction, BFacets bFacets) {
|
|
super(string, n, bAction, bFacets);
|
|
}
|
|
}
|
|
|