org.opencrx.kernel.forecast1.cci2
Interface Segment

All Superinterfaces:
Auditee, org.openmdx.base.cci2.ContextCapable, Importer, Indexed, SecureObject, org.openmdx.base.cci2.Segment, org.openmdx.compatibility.view1.cci2.ViewCapable, WorkflowTarget, XmlExporter
All Known Subinterfaces:
Segment

public interface Segment
extends Segment, Auditee, Importer, Indexed, SecureObject, WorkflowTarget, XmlExporter

Class Segment


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.base.cci2.Segment
org.openmdx.base.cci2.Segment.Identity
 
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.
<T extends Budget>
Collection<T>
getBudget()
          Retrieves a set containing all the elements for the reference budget.
 Budget getBudget(boolean idIsPersistent, String id)
          Retrieves the value for the reference budget for the specified qualifier attribute value.
<T extends Forecast>
Collection<T>
getForecast()
          Retrieves a set containing all the elements for the reference forecast.
 Forecast getForecast(boolean ouNameIsPersistent, String ouName)
          Retrieves the value for the reference forecast for the specified qualifier attribute value.
 
Methods inherited from interface org.openmdx.base.cci2.Segment
getDescription, getProvider, setDescription
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView, getView
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.WorkflowTarget
executeWorkflow
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 

Method Detail

getBudget

<T extends Budget> Collection<T> getBudget()
Retrieves a set containing all the elements for the reference budget.

Returns:
A set containing all the elements for this reference.

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 not
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 persistent
id - 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> Collection<T> getForecast()
Retrieves a set containing all the elements for the reference forecast.

Returns:
A set containing all the elements for this reference.

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 not
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 persistent
ouName - 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.