org.opencrx.kernel.activity1.cci2
Interface ActivityGroup

All Superinterfaces:
org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, SecureObject, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
ActivityCategory, ActivityCategory, ActivityGroup, ActivityMilestone, ActivityMilestone, ActivityTracker, ActivityTracker
All Known Implementing Classes:
ActivityCategory, ActivityMilestone, ActivityTracker

public interface ActivityGroup
extends SecureObject, org.openmdx.base.cci2.BasicObject

Abstract class ActivityGroup


Method Summary
 void addActivityFilter(boolean idIsPersistent, String id, ActivityFilterGroup activityFilter)
          Adds the specified element to the set of the values for the reference activityFilter.
 CalcActualEffortResult calcActualEffort()
           
<T extends ActivityCreator>
Collection<T>
getActivityCreator()
          Retrieves a set containing all the elements for the reference activityCreator.
 ActivityCreator getActivityCreator(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityCreator for the specified qualifier attribute value.
<T extends ActivityFilterGroup>
Collection<T>
getActivityFilter()
          Retrieves a set containing all the elements for the reference activityFilter.
 ActivityFilterGroup getActivityFilter(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityFilter for the specified qualifier attribute value.
<T extends Note>
Collection<T>
getActivityNote()
          Retrieves a set containing all the elements for the reference activityNote.
 Note getActivityNote(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityNote for the specified qualifier attribute value.
 ActivityCreator getDefaultCreator()
          Retrieves the value for the reference defaultCreator.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
<T extends Activity>
Collection<T>
getFilteredActivity()
          Retrieves a set containing all the elements for the reference filteredActivity.
 Activity getFilteredActivity(boolean idIsPersistent, String id)
          Retrieves the value for the reference filteredActivity for the specified qualifier attribute value.
<T extends ActivityFollowUp>
Collection<T>
getFollowUp()
          Retrieves a set containing all the elements for the reference followUp.
 ActivityFollowUp getFollowUp(boolean idIsPersistent, String id)
          Retrieves the value for the reference followUp for the specified qualifier attribute value.
 String getName()
          Retrieves the value for the attribute name.
<T extends WorkReportEntry>
Collection<T>
getWorkReportEntry()
          Retrieves a set containing all the elements for the reference workReportEntry.
 WorkReportEntry getWorkReportEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference workReportEntry for the specified qualifier attribute value.
 void setDefaultCreator(ActivityCreator defaultCreator)
          Sets a new value for the reference defaultCreator.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setName(String name)
          Sets a new value for the attribute name.
 
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.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView, getView
 

Method Detail

getActivityCreator

<T extends ActivityCreator> Collection<T> getActivityCreator()
Retrieves a set containing all the elements for the reference activityCreator.

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

getActivityCreator

ActivityCreator getActivityCreator(boolean idIsPersistent,
                                   String id)
Retrieves the value for the reference activityCreator 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

getActivityFilter

<T extends ActivityFilterGroup> Collection<T> getActivityFilter()
Retrieves a set containing all the elements for the reference activityFilter.

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

getActivityFilter

ActivityFilterGroup getActivityFilter(boolean idIsPersistent,
                                      String id)
Retrieves the value for the reference activityFilter 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

addActivityFilter

void addActivityFilter(boolean idIsPersistent,
                       String id,
                       ActivityFilterGroup activityFilter)
Adds the specified element to the set of the values for the reference activityFilter.

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.
activityFilter - The element to be appended.

getActivityNote

<T extends Note> Collection<T> getActivityNote()
Retrieves a set containing all the elements for the reference activityNote.

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

getActivityNote

Note getActivityNote(boolean idIsPersistent,
                     String id)
Retrieves the value for the reference activityNote 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

calcActualEffort

CalcActualEffortResult calcActualEffort()

getDefaultCreator

ActivityCreator getDefaultCreator()
Retrieves the value for the reference defaultCreator.

Returns:
The – possibly null – value for this reference.

setDefaultCreator

void setDefaultCreator(ActivityCreator defaultCreator)
Sets a new value for the reference defaultCreator.

Parameters:
defaultCreator - The non-null new value for this reference.

getDescription

String getDescription()
Retrieves the possibly null value for the optional attribute description.

Returns:
The possibly null value for attribute description.

setDescription

void setDescription(String description)
Sets a new value for the attribute description.

Parameters:
description - The possibly null new value for attribute description.

getFilteredActivity

<T extends Activity> Collection<T> getFilteredActivity()
Retrieves a set containing all the elements for the reference filteredActivity.

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

getFilteredActivity

Activity getFilteredActivity(boolean idIsPersistent,
                             String id)
Retrieves the value for the reference filteredActivity 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

getFollowUp

<T extends ActivityFollowUp> Collection<T> getFollowUp()
Retrieves a set containing all the elements for the reference followUp.

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

getFollowUp

ActivityFollowUp getFollowUp(boolean idIsPersistent,
                             String id)
Retrieves the value for the reference followUp 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

getName

String getName()
Retrieves the value for the attribute name.

Returns:
The non-null value for attribute name.

setName

void setName(String name)
Sets a new value for the attribute name.

Parameters:
name - The non-null new value for attribute name.

getWorkReportEntry

<T extends WorkReportEntry> Collection<T> getWorkReportEntry()
Retrieves a set containing all the elements for the reference workReportEntry.

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

getWorkReportEntry

WorkReportEntry getWorkReportEntry(boolean idIsPersistent,
                                   String id)
Retrieves the value for the reference workReportEntry 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


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.