org.opencrx.kernel.activity1.jmi1
Interface Segment

All Superinterfaces:
Auditee, ContextCapable, Exporter, Importer, Indexed, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, Segment, WorkflowTarget

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

Class Segment

isFrozen


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.base.cci2.Segment
Segment.Identity
 
Method Summary
 void addActivity(boolean idIsPersistent, String id, Activity activity)
          Adds the specified element to the set of the values for the reference activity.
 void addActivity(String id, Activity activity)
          Adds the specified element to the set of the values for the reference activity using a reassignable qualifier.
 void addActivityCategory(boolean idIsPersistent, String id, ActivityCategory activityCategory)
          Adds the specified element to the set of the values for the reference activityCategory.
 void addActivityCategory(String id, ActivityCategory activityCategory)
          Adds the specified element to the set of the values for the reference activityCategory using a reassignable qualifier.
 void addActivityCreator(boolean idIsPersistent, String id, ActivityCreator activityCreator)
          Adds the specified element to the set of the values for the reference activityCreator.
 void addActivityCreator(String id, ActivityCreator activityCreator)
          Adds the specified element to the set of the values for the reference activityCreator using a reassignable qualifier.
 void addActivityFilter(boolean idIsPersistent, String id, ActivityFilterGlobal activityFilter)
          Adds the specified element to the set of the values for the reference activityFilter.
 void addActivityFilter(String id, ActivityFilterGlobal activityFilter)
          Adds the specified element to the set of the values for the reference activityFilter using a reassignable qualifier.
 void addActivityMilestone(boolean idIsPersistent, String id, ActivityMilestone activityMilestone)
          Adds the specified element to the set of the values for the reference activityMilestone.
 void addActivityMilestone(String id, ActivityMilestone activityMilestone)
          Adds the specified element to the set of the values for the reference activityMilestone using a reassignable qualifier.
 void addActivityProcess(boolean idIsPersistent, String id, ActivityProcess activityProcess)
          Adds the specified element to the set of the values for the reference activityProcess.
 void addActivityProcess(String id, ActivityProcess activityProcess)
          Adds the specified element to the set of the values for the reference activityProcess using a reassignable qualifier.
 void addActivityTracker(boolean idIsPersistent, String id, ActivityTracker activityTracker)
          Adds the specified element to the set of the values for the reference activityTracker.
 void addActivityTracker(String id, ActivityTracker activityTracker)
          Adds the specified element to the set of the values for the reference activityTracker using a reassignable qualifier.
 void addActivityType(boolean idIsPersistent, String id, ActivityType activityType)
          Adds the specified element to the set of the values for the reference activityType.
 void addActivityType(String id, ActivityType activityType)
          Adds the specified element to the set of the values for the reference activityType using a reassignable qualifier.
 void addAddressGroup(boolean idIsPersistent, String id, AddressGroup addressGroup)
          Adds the specified element to the set of the values for the reference addressGroup.
 void addAddressGroup(String id, AddressGroup addressGroup)
          Adds the specified element to the set of the values for the reference addressGroup using a reassignable qualifier.
 void addCalendar(boolean idIsPersistent, String id, Calendar calendar)
          Adds the specified element to the set of the values for the reference calendar.
 void addCalendar(String id, Calendar calendar)
          Adds the specified element to the set of the values for the reference calendar using a reassignable qualifier.
 void addResource(boolean idIsPersistent, String id, Resource resource)
          Adds the specified element to the set of the values for the reference resource.
 void addResource(String id, Resource resource)
          Adds the specified element to the set of the values for the reference resource using a reassignable qualifier.
<T extends Activity>
List<T>
getActivity(ActivityQuery query)
          Retrieves the value for the reference activity for the specified query.
 Activity getActivity(boolean idIsPersistent, String id)
          Retrieves the value for the reference activity for the specified qualifier attribute value.
 Activity getActivity(String id)
          Retrieves the value for the reference activity for the specified qualifier attribute value.
<T extends ActivityCategory>
List<T>
getActivityCategory(ActivityCategoryQuery query)
          Retrieves the value for the reference activityCategory for the specified query.
 ActivityCategory getActivityCategory(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityCategory for the specified qualifier attribute value.
 ActivityCategory getActivityCategory(String id)
          Retrieves the value for the reference activityCategory for the specified qualifier attribute value.
<T extends ActivityCreator>
List<T>
getActivityCreator(ActivityCreatorQuery query)
          Retrieves the value for the reference activityCreator for the specified query.
 ActivityCreator getActivityCreator(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityCreator for the specified qualifier attribute value.
 ActivityCreator getActivityCreator(String id)
          Retrieves the value for the reference activityCreator for the specified qualifier attribute value.
<T extends ActivityFilterGlobal>
List<T>
getActivityFilter(ActivityFilterGlobalQuery query)
          Retrieves the value for the reference activityFilter for the specified query.
 ActivityFilterGlobal getActivityFilter(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityFilter for the specified qualifier attribute value.
 ActivityFilterGlobal getActivityFilter(String id)
          Retrieves the value for the reference activityFilter for the specified qualifier attribute value.
<T extends ActivityMilestone>
List<T>
getActivityMilestone(ActivityMilestoneQuery query)
          Retrieves the value for the reference activityMilestone for the specified query.
 ActivityMilestone getActivityMilestone(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityMilestone for the specified qualifier attribute value.
 ActivityMilestone getActivityMilestone(String id)
          Retrieves the value for the reference activityMilestone for the specified qualifier attribute value.
<T extends ActivityProcess>
List<T>
getActivityProcess(ActivityProcessQuery query)
          Retrieves the value for the reference activityProcess for the specified query.
 ActivityProcess getActivityProcess(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityProcess for the specified qualifier attribute value.
 ActivityProcess getActivityProcess(String id)
          Retrieves the value for the reference activityProcess for the specified qualifier attribute value.
<T extends ActivityTracker>
List<T>
getActivityTracker(ActivityTrackerQuery query)
          Retrieves the value for the reference activityTracker for the specified query.
 ActivityTracker getActivityTracker(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityTracker for the specified qualifier attribute value.
 ActivityTracker getActivityTracker(String id)
          Retrieves the value for the reference activityTracker for the specified qualifier attribute value.
<T extends ActivityType>
List<T>
getActivityType(ActivityTypeQuery query)
          Retrieves the value for the reference activityType for the specified query.
 ActivityType getActivityType(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityType for the specified qualifier attribute value.
 ActivityType getActivityType(String id)
          Retrieves the value for the reference activityType for the specified qualifier attribute value.
<T extends AddressGroup>
List<T>
getAddressGroup(AddressGroupQuery query)
          Retrieves the value for the reference addressGroup for the specified query.
 AddressGroup getAddressGroup(boolean idIsPersistent, String id)
          Retrieves the value for the reference addressGroup for the specified qualifier attribute value.
 AddressGroup getAddressGroup(String id)
          Retrieves the value for the reference addressGroup for the specified qualifier attribute value.
 Calendar getCalendar(boolean idIsPersistent, String id)
          Retrieves the value for the reference calendar for the specified qualifier attribute value.
<T extends Calendar>
List<T>
getCalendar(CalendarQuery query)
          Retrieves the value for the reference calendar for the specified query.
 Calendar getCalendar(String id)
          Retrieves the value for the reference calendar for the specified qualifier attribute value.
 Resource getResource(boolean idIsPersistent, String id)
          Retrieves the value for the reference resource for the specified qualifier attribute value.
<T extends Resource>
List<T>
getResource(ResourceQuery query)
          Retrieves the value for the reference resource for the specified query.
 Resource getResource(String id)
          Retrieves the value for the reference resource for the specified qualifier attribute value.
 WorkAndExpenseRecord getWorkReportEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference workReportEntry for the specified qualifier attribute value.
 WorkAndExpenseRecord getWorkReportEntry(String id)
          Retrieves the value for the reference workReportEntry for the specified qualifier attribute value.
<T extends WorkAndExpenseRecord>
List<T>
getWorkReportEntry(WorkAndExpenseRecordQuery query)
          Retrieves the value for the reference workReportEntry for the specified query.
 
Methods inherited from interface org.opencrx.kernel.activity1.cci2.Segment
getActivity, getActivityCategory, getActivityCreator, getActivityFilter, getActivityMilestone, getActivityProcess, getActivityTracker, getActivityType, getAddressGroup, getCalendar, getResource, getWorkReportEntry
 
Methods inherited from interface org.openmdx.base.jmi1.Segment
getExtent, getExtent, getExtent, getProvider
 
Methods inherited from interface org.openmdx.base.cci2.Segment
getDescription, getExtent, setDescription
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Auditee
getAudit, getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed
getIndexEntry, getIndexEntry, getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.WorkflowTarget
executeWorkflow
 
Methods inherited from interface org.opencrx.kernel.base.cci2.WorkflowTarget
executeWorkflow
 

Method Detail

getActivity

<T extends Activity> List<T> getActivity(ActivityQuery query)
Retrieves the value for the reference activity 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.

getActivity

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

getActivity

Activity getActivity(String id)
Retrieves the value for the reference activity for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getActivity(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addActivity

void addActivity(boolean idIsPersistent,
                 String id,
                 Activity activity)
Adds the specified element to the set of the values for the reference activity.

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

addActivity

void addActivity(String id,
                 Activity activity)
Adds the specified element to the set of the values for the reference activity using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
activity - The element to be appended.

getActivityCategory

<T extends ActivityCategory> List<T> getActivityCategory(ActivityCategoryQuery query)
Retrieves the value for the reference activityCategory 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.

getActivityCategory

ActivityCategory getActivityCategory(boolean idIsPersistent,
                                     String id)
Retrieves the value for the reference activityCategory 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

getActivityCategory

ActivityCategory getActivityCategory(String id)
Retrieves the value for the reference activityCategory for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getActivityCategory(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addActivityCategory

void addActivityCategory(boolean idIsPersistent,
                         String id,
                         ActivityCategory activityCategory)
Adds the specified element to the set of the values for the reference activityCategory.

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

addActivityCategory

void addActivityCategory(String id,
                         ActivityCategory activityCategory)
Adds the specified element to the set of the values for the reference activityCategory using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
activityCategory - The element to be appended.

getActivityCreator

<T extends ActivityCreator> List<T> getActivityCreator(ActivityCreatorQuery query)
Retrieves the value for the reference activityCreator 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.

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

getActivityCreator

ActivityCreator getActivityCreator(String id)
Retrieves the value for the reference activityCreator for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getActivityCreator(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addActivityCreator

void addActivityCreator(boolean idIsPersistent,
                        String id,
                        ActivityCreator activityCreator)
Adds the specified element to the set of the values for the reference activityCreator.

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

addActivityCreator

void addActivityCreator(String id,
                        ActivityCreator activityCreator)
Adds the specified element to the set of the values for the reference activityCreator using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
activityCreator - The element to be appended.

getActivityFilter

<T extends ActivityFilterGlobal> List<T> getActivityFilter(ActivityFilterGlobalQuery query)
Retrieves the value for the reference activityFilter 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.

getActivityFilter

ActivityFilterGlobal 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

getActivityFilter

ActivityFilterGlobal getActivityFilter(String id)
Retrieves the value for the reference activityFilter for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getActivityFilter(false,id).

Parameters:
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,
                       ActivityFilterGlobal 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.

addActivityFilter

void addActivityFilter(String id,
                       ActivityFilterGlobal activityFilter)
Adds the specified element to the set of the values for the reference activityFilter using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
activityFilter - The element to be appended.

getActivityMilestone

<T extends ActivityMilestone> List<T> getActivityMilestone(ActivityMilestoneQuery query)
Retrieves the value for the reference activityMilestone 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.

getActivityMilestone

ActivityMilestone getActivityMilestone(boolean idIsPersistent,
                                       String id)
Retrieves the value for the reference activityMilestone 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

getActivityMilestone

ActivityMilestone getActivityMilestone(String id)
Retrieves the value for the reference activityMilestone for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getActivityMilestone(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addActivityMilestone

void addActivityMilestone(boolean idIsPersistent,
                          String id,
                          ActivityMilestone activityMilestone)
Adds the specified element to the set of the values for the reference activityMilestone.

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

addActivityMilestone

void addActivityMilestone(String id,
                          ActivityMilestone activityMilestone)
Adds the specified element to the set of the values for the reference activityMilestone using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
activityMilestone - The element to be appended.

getActivityProcess

<T extends ActivityProcess> List<T> getActivityProcess(ActivityProcessQuery query)
Retrieves the value for the reference activityProcess 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.

getActivityProcess

ActivityProcess getActivityProcess(boolean idIsPersistent,
                                   String id)
Retrieves the value for the reference activityProcess 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

getActivityProcess

ActivityProcess getActivityProcess(String id)
Retrieves the value for the reference activityProcess for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getActivityProcess(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addActivityProcess

void addActivityProcess(boolean idIsPersistent,
                        String id,
                        ActivityProcess activityProcess)
Adds the specified element to the set of the values for the reference activityProcess.

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

addActivityProcess

void addActivityProcess(String id,
                        ActivityProcess activityProcess)
Adds the specified element to the set of the values for the reference activityProcess using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
activityProcess - The element to be appended.

getActivityTracker

<T extends ActivityTracker> List<T> getActivityTracker(ActivityTrackerQuery query)
Retrieves the value for the reference activityTracker 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.

getActivityTracker

ActivityTracker getActivityTracker(boolean idIsPersistent,
                                   String id)
Retrieves the value for the reference activityTracker 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

getActivityTracker

ActivityTracker getActivityTracker(String id)
Retrieves the value for the reference activityTracker for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getActivityTracker(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addActivityTracker

void addActivityTracker(boolean idIsPersistent,
                        String id,
                        ActivityTracker activityTracker)
Adds the specified element to the set of the values for the reference activityTracker.

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

addActivityTracker

void addActivityTracker(String id,
                        ActivityTracker activityTracker)
Adds the specified element to the set of the values for the reference activityTracker using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
activityTracker - The element to be appended.

getActivityType

<T extends ActivityType> List<T> getActivityType(ActivityTypeQuery query)
Retrieves the value for the reference activityType 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.

getActivityType

ActivityType getActivityType(boolean idIsPersistent,
                             String id)
Retrieves the value for the reference activityType 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

getActivityType

ActivityType getActivityType(String id)
Retrieves the value for the reference activityType for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getActivityType(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addActivityType

void addActivityType(boolean idIsPersistent,
                     String id,
                     ActivityType activityType)
Adds the specified element to the set of the values for the reference activityType.

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

addActivityType

void addActivityType(String id,
                     ActivityType activityType)
Adds the specified element to the set of the values for the reference activityType using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
activityType - The element to be appended.

getAddressGroup

<T extends AddressGroup> List<T> getAddressGroup(AddressGroupQuery query)
Retrieves the value for the reference addressGroup 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.

getAddressGroup

AddressGroup getAddressGroup(boolean idIsPersistent,
                             String id)
Retrieves the value for the reference addressGroup 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

getAddressGroup

AddressGroup getAddressGroup(String id)
Retrieves the value for the reference addressGroup for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getAddressGroup(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addAddressGroup

void addAddressGroup(boolean idIsPersistent,
                     String id,
                     AddressGroup addressGroup)
Adds the specified element to the set of the values for the reference addressGroup.

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

addAddressGroup

void addAddressGroup(String id,
                     AddressGroup addressGroup)
Adds the specified element to the set of the values for the reference addressGroup using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
addressGroup - The element to be appended.

getCalendar

<T extends Calendar> List<T> getCalendar(CalendarQuery query)
Retrieves the value for the reference calendar 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.

getCalendar

Calendar getCalendar(boolean idIsPersistent,
                     String id)
Retrieves the value for the reference calendar 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

getCalendar

Calendar getCalendar(String id)
Retrieves the value for the reference calendar for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getCalendar(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addCalendar

void addCalendar(boolean idIsPersistent,
                 String id,
                 Calendar calendar)
Adds the specified element to the set of the values for the reference calendar.

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

addCalendar

void addCalendar(String id,
                 Calendar calendar)
Adds the specified element to the set of the values for the reference calendar using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
calendar - The element to be appended.

getResource

<T extends Resource> List<T> getResource(ResourceQuery query)
Retrieves the value for the reference resource 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.

getResource

Resource getResource(boolean idIsPersistent,
                     String id)
Retrieves the value for the reference resource 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

getResource

Resource getResource(String id)
Retrieves the value for the reference resource for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getResource(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addResource

void addResource(boolean idIsPersistent,
                 String id,
                 Resource resource)
Adds the specified element to the set of the values for the reference resource.

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

addResource

void addResource(String id,
                 Resource resource)
Adds the specified element to the set of the values for the reference resource using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
resource - The element to be appended.

getWorkReportEntry

<T extends WorkAndExpenseRecord> List<T> getWorkReportEntry(WorkAndExpenseRecordQuery query)
Retrieves the value for the reference workReportEntry 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.

getWorkReportEntry

WorkAndExpenseRecord 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

getWorkReportEntry

WorkAndExpenseRecord getWorkReportEntry(String id)
Retrieves the value for the reference workReportEntry for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getWorkReportEntry(false,id).

Parameters:
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-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.