org.opencrx.kernel.activity1.cci2
Interface ResourceAssignment

All Superinterfaces:
BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable, SecureObject
All Known Subinterfaces:
ResourceAssignment
All Known Implementing Classes:
ResourceAssignment

public interface ResourceAssignment
extends SecureObject, BasicObject

Class ResourceAssignment


Nested Class Summary
static interface ResourceAssignment.Identity
          Object Identity
 
Method Summary
 Calendar getCalendar()
          Retrieves the value for the reference calendar.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 String getName()
          Retrieves the value for the attribute name.
 Resource getResource()
          Retrieves the value for the reference resource.
 Short getResourceOrder()
          Retrieves the possibly null value for the optional attribute resourceOrder.
 short getResourceRole()
          Retrieves the value for the attribute resourceRole.
 Short getWorkDurationPercentage()
          Retrieves the possibly null value for the optional attribute workDurationPercentage.
<T extends WorkAndExpenseRecord>
AssignmentContainsWorkRecord.WorkRecord<T>
getWorkRecord()
          Retrieves a set containing all the elements for the reference workRecord.
 void setCalendar(Calendar calendar)
          Sets a new value for the reference calendar.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setName(String name)
          Sets a new value for the attribute name.
 void setResource(Resource resource)
          Sets a new value for the reference resource.
 void setResourceOrder(Short resourceOrder)
          Sets a new value for the attribute resourceOrder.
 void setResourceRole(short resourceRole)
          Sets a new value for the attribute resourceRole.
 void setWorkDurationPercentage(Short workDurationPercentage)
          Sets a new value for the attribute workDurationPercentage.
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Method Detail

getCalendar

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

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

setCalendar

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

Parameters:
calendar - 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.

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.

getResource

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

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

setResource

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

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

getResourceOrder

Short getResourceOrder()
Retrieves the possibly null value for the optional attribute resourceOrder.

Returns:
The possibly null value for attribute resourceOrder.

setResourceOrder

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

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

getResourceRole

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

Returns:
The non-null value for attribute resourceRole.

setResourceRole

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

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

getWorkDurationPercentage

Short getWorkDurationPercentage()
Retrieves the possibly null value for the optional attribute workDurationPercentage.

Returns:
The possibly null value for attribute workDurationPercentage.

setWorkDurationPercentage

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

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

getWorkRecord

<T extends WorkAndExpenseRecord> AssignmentContainsWorkRecord.WorkRecord<T> getWorkRecord()
Retrieves a set containing all the elements for the reference workRecord.

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


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