source: xssim/src/schedframe/scheduling/plan/AllocationInterface.java @ 104

Revision 104, 3.1 KB checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package schedframe.scheduling.plan;
2
3import schedframe.scheduling.Reservation;
4import schedframe.scheduling.utils.DescriptionContainer;
5
6
7public interface AllocationInterface<T> extends DescriptionContainer<T> {
8
9        /**
10         */
11        public void deleteProcessQuantity();
12
13        /**
14         * Returns the value of field 'additionalProperties'.
15         *
16         * @return the value of field 'AdditionalProperties'.
17         */
18        public <Properties> PropertiesTypeInterface<Properties> getAdditionalProperties();
19
20        /**
21         * Returns the value of field 'host'. The field 'host' has the
22         * following description: Submission host
23         *
24         * @return the value of field 'Host'.
25         */
26        public  HostInterface getHost();
27
28        /**
29         * Returns the value of field 'processGroupId'.
30         *
31         * @return the value of field 'ProcessGroupId'.
32         */
33        public java.lang.String getProcessGroupId();
34
35        /**
36         * Returns the value of field 'processQuantity'.
37         *
38         * @return the value of field 'ProcessQuantity'.
39         */
40        public int getProcessesCount();
41       
42        public <ProcessesMap_>ProcessesMapInterface<ProcessesMap_> getProcessesMap();
43
44        /**
45         * Returns the value of field 'providerInfo'.
46         *
47         * @return the value of field 'ProviderInfo'.
48         */
49        public <ProviderInfo>ProviderInfoInterface<ProviderInfo> getProviderInfo();
50       
51        /**
52         * Returns the value of field 'reservationId'. The field
53         * 'reservationId' has the following description: Reservation
54         * identifier in local system
55         *
56         * @return the value of field 'ReservationId'.
57         */
58        public java.lang.String getReservationId();
59
60        /**
61         * Method hasProcessQuantity.
62         *
63         * @return true if at least one ProcessQuantity has been added
64         */
65        public boolean hasProcessesCount();
66       
67        public boolean hasProcessesMap();
68
69        /**
70         * Sets the value of field 'additionalProperties'.
71         *
72         * @param additionalProperties the value of field
73         * 'additionalProperties'.
74         */
75        public <Properties> void setAdditionalProperties(
76                        final PropertiesTypeInterface<Properties> additionalProperties);
77
78        /**
79         * Sets the value of field 'host'. The field 'host' has the
80         * following description: Submission host
81         *
82         * @param host the value of field 'host'.
83         */
84        public <Host> void setHost(final HostInterface<Host> host);
85
86        /**
87         * Sets the value of field 'processGroupID'.
88         *
89         * @param processGroupId the value of field 'processGroupId'.
90         */
91        public void setProcessGroupId(final java.lang.String processGroupId);
92
93        /**
94         * Sets the value of field 'processQuantity'.
95         *
96         * @param processQuantity the value of field 'processQuantity'.
97         */
98        public void setProcessesCount(final int processesCount);
99       
100       
101        public <ProcessesMap_> void setProcessesMap(ProcessesMapInterface<ProcessesMap_> processesMap);
102
103        /**
104         * Sets the value of field 'providerInfo'.
105         *
106         * @param providerInfo the value of field 'providerInfo'.
107         */
108        public <ProviderInfo> void setProviderInfo(ProviderInfoInterface<ProviderInfo> providerInfo);
109       
110        /**
111         * Sets the value of field 'reservationId'. The field
112         * 'reservationId' has the following description: Reservation
113         * identifier in local system
114         *
115         * @param reservationId the value of field 'reservationId'.
116         */
117        public void setReservation(final Reservation reservation);
118       
119}
Note: See TracBrowser for help on using the repository browser.