|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceAssignment
Class ResourceAssignment
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.opencrx.kernel.activity1.cci2.ResourceAssignment |
|---|
ResourceAssignment.Identity |
| Method Summary | ||
|---|---|---|
void |
addWorkRecord(boolean idIsPersistent,
String id,
ActivityWorkRecord workRecord)
Adds the specified element to the set of the values for the reference workRecord. |
|
Calendar |
getCalendar()
Retrieves the value for the reference calendar. |
|
Resource |
getResource()
Retrieves the value for the reference resource. |
|
|
getWorkRecord(ActivityWorkRecordQuery query)
Retrieves the value for the reference workRecord for the
specified query. |
|
ActivityWorkRecord |
getWorkRecord(boolean idIsPersistent,
String id)
Retrieves the value for the reference workRecord for the
specified qualifier attribute value. |
|
ActivityWorkRecord |
getWorkRecord(String id)
Retrieves the value for the reference workRecord for the
specified qualifier attribute value. |
|
void |
setCalendar(Calendar calendar)
Sets a new value for the reference calendar. |
|
void |
setResource(Resource resource)
Sets a new value for the reference resource. |
|
| Methods inherited from interface org.opencrx.kernel.activity1.cci2.ResourceAssignment |
|---|
addWorkRecord, getDescription, getName, getResourceOrder, getResourceRole, getWorkDurationPercentage, getWorkRecord, setDescription, setName, setResourceOrder, setResourceRole, setWorkDurationPercentage |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject |
|---|
addOwningGroup, addOwningGroup, checkPermissions, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeAllOwningGroup, removeOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevel, setOwningUser, setOwningUser, setOwningUser |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
|---|
getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate |
| Methods inherited from interface org.openmdx.base.jmi1.BasicObject |
|---|
getCreatedBy, getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci2.BasicObject |
|---|
getCreatedAt, getModifiedAt |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.compatibility.view1.jmi1.ViewCapable |
|---|
getView, getView, getView |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
|---|
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 |
|---|
Calendar getCalendar()
calendar.
getCalendar in interface ResourceAssignmentnull – value for this reference.void setCalendar(Calendar calendar)
calendar.
setCalendar in interface ResourceAssignmentcalendar - The non-null new value for this reference.Resource getResource()
resource.
getResource in interface ResourceAssignmentnull – value for this reference.void setResource(Resource resource)
resource.
setResource in interface ResourceAssignmentresource - The non-null new value for this reference.<T extends ActivityWorkRecord> List<T> getWorkRecord(ActivityWorkRecordQuery query)
workRecord for the
specified query.
Note: This is an extension to the JMI 1 standard.java.jdo.Query
query - predicate which is applied to the set of referenced objects.
true.
ActivityWorkRecord getWorkRecord(boolean idIsPersistent,
String id)
workRecord for the
specified qualifier attribute value.
getWorkRecord in interface ResourceAssignmentidIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
ActivityWorkRecord getWorkRecord(String id)
workRecord for the
specified qualifier attribute value.
This method is equivalent to the preferred invocation
getWorkRecord(false,id).
id - The value for the qualifier attribute that qualifies this reference.
void addWorkRecord(boolean idIsPersistent,
String id,
ActivityWorkRecord workRecord)
workRecord.
Note: This is an extension to the JMI 1 standard.
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.workRecord - The element to be appended.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||