link start!
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Action extends Slot {
|
||||
BValue getParameterDefault();
|
||||
|
||||
Type getParameterType();
|
||||
|
||||
Type getReturnType();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Cursor {
|
||||
BObject get();
|
||||
|
||||
Context getContext();
|
||||
|
||||
boolean next();
|
||||
|
||||
boolean next(Class cls);
|
||||
|
||||
boolean nextComponent();
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
import javax.baja.naming.BOrd;
|
||||
|
||||
public interface Knob {
|
||||
BLink getLink();
|
||||
|
||||
BComponent getSourceComponent();
|
||||
|
||||
BOrd getSourceOrd();
|
||||
|
||||
Slot getSourceSlot();
|
||||
|
||||
String getSourceSlotName();
|
||||
|
||||
BComponent getTargetComponent();
|
||||
|
||||
BOrd getTargetOrd();
|
||||
|
||||
Slot getTargetSlot();
|
||||
|
||||
String getTargetSlotName();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Localizable {
|
||||
String toString(Context context);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Property extends Slot {
|
||||
BValue getDefaultValue();
|
||||
|
||||
Type getType();
|
||||
|
||||
int getTypeAccess();
|
||||
|
||||
boolean isEquivalentToDefaultValue(BValue bValue);
|
||||
|
||||
boolean isTypeFinal();
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Slot {
|
||||
public static final int BOBJECT_TYPE = 7;
|
||||
public static final int BOOLEAN_TYPE = 0;
|
||||
public static final int DOUBLE_TYPE = 5;
|
||||
public static final int FLOAT_TYPE = 4;
|
||||
public static final int INT_TYPE = 2;
|
||||
public static final int LONG_TYPE = 3;
|
||||
public static final int STRING_TYPE = 6;
|
||||
|
||||
Action asAction();
|
||||
|
||||
Property asProperty();
|
||||
|
||||
Topic asTopic();
|
||||
|
||||
boolean equals(Object obj);
|
||||
|
||||
Type getDeclaringType();
|
||||
|
||||
String getDefaultDisplayName(Context context);
|
||||
|
||||
int getDefaultFlags();
|
||||
|
||||
BFacets getFacets();
|
||||
|
||||
String getName();
|
||||
|
||||
boolean isAction();
|
||||
|
||||
boolean isDynamic();
|
||||
|
||||
boolean isFrozen();
|
||||
|
||||
boolean isProperty();
|
||||
|
||||
boolean isTopic();
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface SlotCursor extends Cursor {
|
||||
Action action();
|
||||
|
||||
boolean getBoolean();
|
||||
|
||||
double getDouble();
|
||||
|
||||
float getFloat();
|
||||
|
||||
int getInt();
|
||||
|
||||
long getLong();
|
||||
|
||||
String getString();
|
||||
|
||||
int getTypeAccess();
|
||||
|
||||
boolean nextObject();
|
||||
|
||||
Property property();
|
||||
|
||||
Slot slot();
|
||||
|
||||
BObject target();
|
||||
|
||||
Topic topic();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
public interface Topic extends Slot {
|
||||
Type getEventType();
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package javax.baja.sys;
|
||||
|
||||
import javax.baja.registry.TypeInfo;
|
||||
import javax.baja.util.BTypeSpec;
|
||||
|
||||
public interface Type {
|
||||
char getDataTypeSymbol();
|
||||
|
||||
String getDisplayName(Context context);
|
||||
|
||||
int getId();
|
||||
|
||||
BObject getInstance();
|
||||
|
||||
Type[] getInterfaces();
|
||||
|
||||
BModule getModule();
|
||||
|
||||
Type getSuperType();
|
||||
|
||||
Class getTypeClass();
|
||||
|
||||
TypeInfo getTypeInfo();
|
||||
|
||||
String getTypeName();
|
||||
|
||||
BTypeSpec getTypeSpec();
|
||||
|
||||
boolean is(TypeInfo typeInfo);
|
||||
|
||||
boolean is(Type type);
|
||||
|
||||
boolean isAbstract();
|
||||
|
||||
boolean isDataType();
|
||||
|
||||
boolean isInterface();
|
||||
|
||||
boolean isTransient();
|
||||
|
||||
String toString();
|
||||
}
|
||||
Reference in New Issue
Block a user