|
||||||||||
| 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,
WorkAndExpenseRecord workRecord)
Adds the specified element to the set of the values for the reference workRecord. |
|
void |
addWorkRecord(String id,
WorkAndExpenseRecord workRecord)
Adds the specified element to the set of the values for the reference workRecord using a reassignable qualifier. |
|
void |
addWorkRecord(WorkAndExpenseRecord workRecord)
Adds the specified element to the set of the values for the reference workRecord using an implementation-specific, reassignable qualifier. |
|
Calendar |
getCalendar()
Retrieves the value for the reference calendar. |
|
Resource |
getResource()
Retrieves the value for the reference resource. |
|
WorkAndExpenseRecord |
getWorkRecord(boolean idIsPersistent,
String id)
Retrieves the value for the reference workRecord for the specified qualifier attribute value. |
|
WorkAndExpenseRecord |
getWorkRecord(String id)
Retrieves the value for the reference workRecord for the specified qualifier attribute value. |
|
|
getWorkRecord(WorkAndExpenseRecordQuery query)
Retrieves the value for the reference workRecord for the specified query. |
|
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 |
|---|
getDescription, getName, getResourceOrder, getResourceRole, getWorkDurationPercentage, getWorkRecord, setDescription, setName, setResourceOrder, setResourceRole, setWorkDurationPercentage |
| 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.openmdx.base.jmi1.Creatable |
|---|
getCreatedBy |
| Methods inherited from interface org.openmdx.base.cci2.Creatable |
|---|
getCreatedAt |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.base.jmi1.Modifiable |
|---|
getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci2.Modifiable |
|---|
getModifiedAt |
| 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 |
| 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 WorkAndExpenseRecord> List<T> getWorkRecord(WorkAndExpenseRecordQuery 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.
WorkAndExpenseRecord getWorkRecord(boolean idIsPersistent,
String id)
workRecord for the specified qualifier attribute value.
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
WorkAndExpenseRecord 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,
WorkAndExpenseRecord 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.
void addWorkRecord(String id,
WorkAndExpenseRecord workRecord)
workRecord using a reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
id - The qualifier attribute value that qualifies the reference to get the element to be appended.workRecord - The element to be appended.void addWorkRecord(WorkAndExpenseRecord workRecord)
workRecord using an implementation-specific, reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
workRecord - The element to be appended.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||