source: java/main/src/main/java/com/framsticks/params/Access.java @ 102

Last change on this file since 102 was 102, checked in by psniegowski, 11 years ago

HIGHLIGHTS:

for Joinables running

CHANGELOG:
Add WorkPackageLogic? and classes representing prime experiment state.

Add classes for PrimeExperiment? state.

Extract single netload routine in Simulator.

Working netload with dummy content in PrimeExperiment?.

More development with NetLoadSaveLogic? and PrimeExperiment?.

Improvement around prime.

Improve BufferedDispatcher?.isActive logic.

Add prime-all.xml configuration.

Manual connecting to existing simulators from GUI.

Guard in SimulatorConnector? against expdef mismatch.

Guard against empty target dispatcher in BufferedDispatcher?.

Make BufferedDispatcher? a Dispatcher (and Joinable).

Minor improvements.

Done StackedJoinable?, improve Experiment.

Develop StackedJoinable?.

Add StackedJoinable? utility joinables controller.

Add dependency on apache-commons-lang.

Add ready ListChange? on Simulators.

Improve hints in ListChange?.

Several improvements.

Found bug with dispatching in Experiment.

Minor improvements.

Fix bug with early finishing Server.

Many changes in Dispatching.

Fix bug with connection.

Do not obfuscate log with socket related exceptions.

Add SocketClosedException?.

Add SimulatorConnector?.

Work out conception of experiment composing of logics building blocks.

Rename SinkInterface? to Sink.

Move saving of Accesses into AccessOperations?.

Some improvements to Experiment.

Improve joinables.

Fix issue with joinables closing.

Add direct and managed consoles to popup menu.

File size: 1.4 KB
Line 
1package com.framsticks.params;
2
3
4import com.framsticks.params.types.EventParam;
5import com.framsticks.params.types.ProcedureParam;
6
7
8/**
9 * The Interface Access. It's the most general class for storing data in
10 * framsticks. In descriptions of methods names "property" and "parameter" are
11 * synonyms.
12 *
13 * @author Jarek Szymczak <name.surname@gmail.com> (please replace name and
14 *         surname with my personal data)
15 */
16public interface Access {
17
18        Param getParam(int i);
19
20        Param getParam(String id);
21
22        String getId();
23
24        int getParamCount();
25
26        Object call(String id, Object[] arguments);
27
28        Object call(ProcedureParam param, Object[] arguments);
29
30        <T> T get(int i, Class<T> type);
31
32        <T> T get(String id, Class<T> type);
33
34        <T> T get(ValueParam param, Class<T> type);
35
36        <T> int set(int i, T value);
37
38        <T> int set(String id, T value);
39
40        <T> int set(ValueParam param, T value);
41
42        void reg(EventParam param, EventListener<?> listener);
43
44        void regRemove(EventParam param, EventListener<?> listener);
45
46        /**
47         * Removes all the properties values.
48         */
49        void clearValues();
50
51        Access select(Object object);
52
53        Object getSelected();
54
55        Access cloneAccess();
56
57        Object createAccessee();
58
59        Iterable<Param> getParams();
60
61        FramsClass getFramsClass();
62
63        void tryAutoAppend(Object object);
64
65        int getCompositeParamCount();
66
67        CompositeParam getCompositeParam(int number);
68
69        ParamBuilder buildParam(ParamBuilder builder);
70
71}
Note: See TracBrowser for help on using the repository browser.