org.opencrx.kernel.activity1.cci
Interface ResourceAssignment

All Superinterfaces:
BasicObject, ContextCapable, ExtentCapable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, ViewCapable
All Known Implementing Classes:
ResourceAssignmentImpl

public interface ResourceAssignment
extends SecureObject, BasicObject


Method Summary
 void addWorkRecord(ActivityWorkRecord newValue)
           
 void addWorkRecord(String id, ActivityWorkRecord newValue)
           
 Calendar getCalendar()
          Retrieves the value for the optional reference calendar.
 String getDescription()
           
 String getName()
          Retrieves the value for the attribute name.
 Resource getResource()
          Retrieves the value for the optional reference resource.
 Short getResourceOrder()
           
 short getResourceRole()
          Retrieves the value for the attribute resourceRole.
 Short getWorkDurationPercentage()
           
 Collection getWorkRecord()
          Retrieves a collection containing all the elements for the reference workRecord.
 List getWorkRecord(ActivityWorkRecordFilter filter)
          Retrieves the value for the reference workRecord for the specified filter.
 List getWorkRecord(ActivityWorkRecordQuery query)
          Retrieves the value for the reference workRecord for the specified query.
 ActivityWorkRecord getWorkRecord(String id)
          Retrieves the value for the reference workRecord for the specified qualifier attribute value.
 void removeCalendar()
          Removes the value for the optional reference calendar.
 void removeResource()
          Removes the value for the optional reference resource.
 void removeWorkRecord(String id)
           
 void setCalendar(Calendar newValue)
          Sets a new value for the reference calendar.
 void setDescription(String newValue)
          Sets a new value for the attribute description.
 void setName(String newValue)
          Sets a new value for the attribute name.
 void setResource(Resource newValue)
          Sets a new value for the reference resource.
 void setResourceOrder(Short newValue)
          Sets a new value for the attribute resourceOrder.
 void setResourceRole(short newValue)
          Sets a new value for the attribute resourceRole.
 void setWorkDurationPercentage(Short newValue)
          Sets a new value for the attribute workDurationPercentage.
 
Methods inherited from interface org.opencrx.kernel.base.cci.SecureObject
addOwningGroup, addOwningGroup, addOwningGroup, addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwner, getOwningGroup, getOwningGroup, getOwningUser, removeAllOwningGroup, removeAllOwningGroup, removeOwningGroup, removeOwningGroup, removeOwningGroup, removeOwningUser, setAccessLevel, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser, setOwningUser
 
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 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.openmdx.base.cci.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci.ContextCapable
getContext, getContext
 
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 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.openmdx.base.cci.ExtentCapable
getIdentity
 
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 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.openmdx.compatibility.view1.cci.ViewCapable
getView, getView, getView, getView
 
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 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
 

Method Detail

getCalendar

Calendar getCalendar()
Retrieves the value for the optional reference calendar.

Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setCalendar

void setCalendar(Calendar newValue)
Sets a new value for the reference calendar.

Parameters:
newValue - The non-null new value for this reference.
Throws:
JmiException - If the value cannot be set for some reason.

removeCalendar

void removeCalendar()
Removes the value for the optional reference calendar.

Throws:
JmiException - If the value cannot be removed for some reason.

getDescription

String getDescription()
Returns:
The possibly null value for attribute description.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setDescription

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

Parameters:
newValue - The possibly null new value for attribute description.
Throws:
JmiException - If the value cannot be set for some reason.

getName

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

Returns:
The non-null value for attribute name.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setName

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

Parameters:
newValue - The non-null new value for attribute name.
Throws:
JmiException - If the value cannot be set for some reason.

getResource

Resource getResource()
Retrieves the value for the optional reference resource.

Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setResource

void setResource(Resource newValue)
Sets a new value for the reference resource.

Parameters:
newValue - The non-null new value for this reference.
Throws:
JmiException - If the value cannot be set for some reason.

removeResource

void removeResource()
Removes the value for the optional reference resource.

Throws:
JmiException - If the value cannot be removed for some reason.

getResourceOrder

Short getResourceOrder()
Returns:
The possibly null value for attribute resourceOrder.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setResourceOrder

void setResourceOrder(Short newValue)
Sets a new value for the attribute resourceOrder.

Parameters:
newValue - The possibly null new value for attribute resourceOrder.
Throws:
JmiException - If the value cannot be set for some reason.

getResourceRole

short getResourceRole()
Retrieves the value for the attribute resourceRole.

Returns:
The non-null value for attribute resourceRole.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setResourceRole

void setResourceRole(short newValue)
Sets a new value for the attribute resourceRole.

Parameters:
newValue - The non-null new value for attribute resourceRole.
Throws:
JmiException - If the value cannot be set for some reason.

getWorkDurationPercentage

Short getWorkDurationPercentage()
Returns:
The possibly null value for attribute workDurationPercentage.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setWorkDurationPercentage

void setWorkDurationPercentage(Short newValue)
Sets a new value for the attribute workDurationPercentage.

Parameters:
newValue - The possibly null new value for attribute workDurationPercentage.
Throws:
JmiException - If the value cannot be set for some reason.

getWorkRecord

ActivityWorkRecord getWorkRecord(String id)
Retrieves the value for the reference workRecord for the specified qualifier attribute value.

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getWorkRecord

Collection getWorkRecord()
Retrieves a collection containing all the elements for the reference workRecord.

Returns:
A collection containing all the elements for this reference.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getWorkRecord

List getWorkRecord(ActivityWorkRecordFilter filter)
Retrieves the value for the reference workRecord for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getWorkRecord

List getWorkRecord(ActivityWorkRecordQuery query)
Retrieves the value for the reference workRecord for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

addWorkRecord

void addWorkRecord(String id,
                   ActivityWorkRecord newValue)
Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

addWorkRecord

void addWorkRecord(ActivityWorkRecord newValue)
Parameters:
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

removeWorkRecord

void removeWorkRecord(String id)
Throws:
JmiException - If the value cannot be removed for some reason.


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