org.opencrx.kernel.forecast1.jmi1
Interface Segment
- All Superinterfaces:
- Auditee, ContextCapable, Exporter, Importer, Indexed, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, Segment, ViewCapable, WorkflowTarget
public interface Segment
- extends Segment, Segment, Auditee, Exporter, Importer, Indexed, SecureObject, WorkflowTarget
Class Segment
|
Method Summary |
void |
addBudget(boolean idIsPersistent,
String id,
Budget budget)
Adds the specified element to the set of the values for the reference budget. |
void |
addForecast(boolean ouNameIsPersistent,
String ouName,
Forecast forecast)
Adds the specified element to the set of the values for the reference forecast. |
Budget |
getBudget(boolean idIsPersistent,
String id)
Retrieves the value for the reference budget for the specified qualifier attribute value. |
|
getBudget(BudgetQuery query)
Retrieves the value for the reference budget for the specified query. |
Budget |
getBudget(String id)
Retrieves the value for the reference budget for the specified qualifier attribute value. |
Forecast |
getForecast(boolean ouNameIsPersistent,
String ouName)
Retrieves the value for the reference forecast for the specified qualifier attribute value. |
|
getForecast(ForecastQuery query)
Retrieves the value for the reference forecast for the specified query. |
Forecast |
getForecast(String ouName)
Retrieves the value for the reference forecast for the specified qualifier attribute value. |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser |
getBudget
<T extends Budget> List<T> getBudget(BudgetQuery query)
- Retrieves the value for the reference
budget for the specified query.
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query
- Parameters:
query - predicate which is applied to the set of referenced objects.
- Returns:
- The objects for which the predicate evaluates to
true.
getBudget
Budget getBudget(boolean idIsPersistent,
String id)
- Retrieves the value for the reference
budget for the specified qualifier attribute value.
- Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
getBudget
Budget getBudget(String id)
- Retrieves the value for the reference
budget for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getBudget(false,id).
- Parameters:
id - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
addBudget
void addBudget(boolean idIsPersistent,
String id,
Budget budget)
- Adds the specified element to the set of the values for the reference
budget.
Note: This is an extension to the JMI 1 standard.
- Parameters:
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.budget - The element to be appended.
getForecast
<T extends Forecast> List<T> getForecast(ForecastQuery query)
- Retrieves the value for the reference
forecast for the specified query.
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query
- Parameters:
query - predicate which is applied to the set of referenced objects.
- Returns:
- The objects for which the predicate evaluates to
true.
getForecast
Forecast getForecast(boolean ouNameIsPersistent,
String ouName)
- Retrieves the value for the reference
forecast for the specified qualifier attribute value.
- Parameters:
ouNameIsPersistent - Defines whether value for the qualifier is persistent or notouName - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
getForecast
Forecast getForecast(String ouName)
- Retrieves the value for the reference
forecast for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getForecast(false,ouName).
- Parameters:
ouName - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
addForecast
void addForecast(boolean ouNameIsPersistent,
String ouName,
Forecast forecast)
- Adds the specified element to the set of the values for the reference
forecast.
Note: This is an extension to the JMI 1 standard.
- Parameters:
ouNameIsPersistent - true if ouName is persistentouName - The qualifier attribute value that qualifies the reference to get the element to be appended.forecast - The element to be appended.
This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.