|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.w3c.jpa3.AbstractObject
org.opencrx.kernel.activity1.jpa3.ResourceAssignment
public class ResourceAssignment
Class ResourceAssignment
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject |
|---|
org.w3c.jpa3.AbstractObject.AbstractStateAccessor, org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.ObjectState, org.w3c.jpa3.AbstractObject.SlicedList<E,S>, org.w3c.jpa3.AbstractObject.SlicedMap<E,S>, org.w3c.jpa3.AbstractObject.SlicedSet<E,S> |
| Nested classes/interfaces inherited from interface org.opencrx.kernel.activity1.cci2.ResourceAssignment |
|---|
ResourceAssignment.Identity |
| Field Summary | |
|---|---|
Timestamp |
createdAt
Attribute createdAt. |
String |
identity
Attribute identity. |
Timestamp |
modifiedAt
Attribute modifiedAt. |
| Constructor Summary | |
|---|---|
ResourceAssignment()
Constructor |
|
| Method Summary | ||
|---|---|---|
ModifySecureObjectResult |
addOwningGroup(ModifyOwningGroupParams in)
|
|
CheckPermissionsResult |
checkPermissions(CheckPermissionsParams in)
|
|
String |
getAccessGrantedByParent_Id()
|
|
ContextCapable |
getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent. |
|
short |
getAccessLevelBrowse()
Retrieves the value for the attribute accessLevelBrowse. |
|
short |
getAccessLevelDelete()
Retrieves the value for the attribute accessLevelDelete. |
|
short |
getAccessLevelUpdate()
Retrieves the value for the attribute accessLevelUpdate. |
|
String |
getCalendar_Id()
|
|
Calendar |
getCalendar()
Retrieves the value for the reference calendar. |
|
|
getContext()
Retrieves the Map of objects referenced by context. |
|
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
|
Set<String> |
getCreatedBy()
Retrieves a set containing all the elements for the attribute createdBy. |
|
String |
getDescription()
Retrieves the possibly null value for the optional attribute description. |
|
String |
getIdentity()
Retrieves the value for the attribute identity. |
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
|
Set<String> |
getModifiedBy()
Retrieves a set containing all the elements for the attribute modifiedBy. |
|
String |
getName()
Retrieves the value for the attribute name. |
|
protected String |
getOpenmdxjdoIdentity()
Retrieve the object's JDO identity key |
|
List<String> |
getOwner()
Retrieves a list containing all the elements for the attribute owner. |
|
List<String> |
getOwningGroup_Id()
|
|
|
getOwningGroup()
Retrieves the Collection of objects referenced by owningGroup. |
|
String |
getOwningUser_Id()
|
|
User |
getOwningUser()
Retrieves the value for the reference owningUser. |
|
String |
getResource_Id()
|
|
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. |
|
|
getWorkRecord()
Retrieves a set containing all the elements for the reference workRecord. |
|
protected
|
openmdxjdoGetSlices()
|
|
ModifySecureObjectResult |
removeAllOwningGroup(RemoveAllOwningGroupParams in)
|
|
ModifySecureObjectResult |
removeOwningGroup(ModifyOwningGroupParams in)
|
|
ModifySecureObjectResult |
replaceOwningGroup(ModifyOwningGroupsParams in)
|
|
ModifySecureObjectResult |
setAccessLevel(SetAccessLevelParams in)
|
|
void |
setAccessLevelBrowse(short accessLevelBrowse)
Sets a new value for the attribute accessLevelBrowse. |
|
void |
setAccessLevelDelete(short accessLevelDelete)
Sets a new value for the attribute accessLevelDelete. |
|
void |
setAccessLevelUpdate(short accessLevelUpdate)
Sets a new value for the attribute accessLevelUpdate. |
|
void |
setActivity_Id(String activity)
|
|
void |
setActivity(Activity activity)
Sets a new value for the reference activity. |
|
void |
setCalendar_Id(String calendar)
|
|
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. |
|
protected void |
setOpenmdxjdoIdentity(String value)
Set the object's JDO identity key |
|
void |
setOwner(String... owner)
Clears owner and adds the given value(s). |
|
void |
setOwningUser_Id(String owningUser)
|
|
ModifySecureObjectResult |
setOwningUser(SetOwningUserParams in)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
void |
setResource_Id(String resource)
|
|
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 class org.w3c.jpa3.AbstractObject |
|---|
openmdxjdoMakeDirty, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Timestamp modifiedAt
modifiedAt.
public String identity
identity.
public Timestamp createdAt
createdAt.
| Constructor Detail |
|---|
public ResourceAssignment()
| Method Detail |
|---|
protected String getOpenmdxjdoIdentity()
getOpenmdxjdoIdentity in class org.w3c.jpa3.AbstractObjectprotected void setOpenmdxjdoIdentity(String value)
setOpenmdxjdoIdentity in class org.w3c.jpa3.AbstractObjectprotected final <E extends ResourceAssignment$Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
public short getAccessLevelDelete()
accessLevelDelete.
getAccessLevelDelete in interface SecureObjectaccessLevelDelete.public void setAccessLevelDelete(short accessLevelDelete)
accessLevelDelete.
setAccessLevelDelete in interface SecureObjectaccessLevelDelete - The non-null new value for attribute accessLevelDelete.public Date getModifiedAt()
modifiedAt.
getModifiedAt in interface ModifiablemodifiedAt.public Set<String> getModifiedBy()
modifiedBy.
getModifiedBy in interface Modifiablepublic short getResourceRole()
resourceRole.
getResourceRole in interface ResourceAssignmentresourceRole.public void setResourceRole(short resourceRole)
resourceRole.
setResourceRole in interface ResourceAssignmentresourceRole - The non-null new value for attribute resourceRole.public final Short getResourceOrder()
resourceOrder.
getResourceOrder in interface ResourceAssignmentresourceOrder.public void setResourceOrder(Short resourceOrder)
resourceOrder.
setResourceOrder in interface ResourceAssignmentresourceOrder - The possibly null new value for attribute resourceOrder.public short getAccessLevelBrowse()
accessLevelBrowse.
getAccessLevelBrowse in interface SecureObjectaccessLevelBrowse.public void setAccessLevelBrowse(short accessLevelBrowse)
accessLevelBrowse.
setAccessLevelBrowse in interface SecureObjectaccessLevelBrowse - The non-null new value for attribute accessLevelBrowse.public String getIdentity()
identity.
getIdentity in interface ExtentCapableidentity.public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
removeAllOwningGroup in interface SecureObjectpublic final String getDescription()
description.
getDescription in interface ResourceAssignmentdescription.public void setDescription(String description)
description.
setDescription in interface ResourceAssignmentdescription - The possibly null new value for attribute description.public Date getCreatedAt()
createdAt.
getCreatedAt in interface CreatablecreatedAt.public String getName()
name.
getName in interface ResourceAssignmentname.public void setName(String name)
name.
setName in interface ResourceAssignmentname - The non-null new value for attribute name.public ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
setOwningUser in interface SecureObjectpublic final Short getWorkDurationPercentage()
workDurationPercentage.
getWorkDurationPercentage in interface ResourceAssignmentworkDurationPercentage.public void setWorkDurationPercentage(Short workDurationPercentage)
workDurationPercentage.
setWorkDurationPercentage in interface ResourceAssignmentworkDurationPercentage - The possibly null new value for attribute workDurationPercentage.public <T extends PrincipalGroup> List<T> getOwningGroup()
Collection of objects referenced by owningGroup.
getOwningGroup in interface SecureObjectCollection of referenced objects.public List<String> getOwningGroup_Id()
public Calendar getCalendar()
calendar.
getCalendar in interface ResourceAssignmentnull – value for this reference.public String getCalendar_Id()
public void setCalendar(Calendar calendar)
calendar.
setCalendar in interface ResourceAssignmentcalendar - The non-null new value for this reference.public void setCalendar_Id(String calendar)
public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
addOwningGroup in interface SecureObjectpublic Resource getResource()
resource.
getResource in interface ResourceAssignmentnull – value for this reference.public String getResource_Id()
public void setResource(Resource resource)
resource.
setResource in interface ResourceAssignmentresource - The non-null new value for this reference.public void setResource_Id(String resource)
public CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
checkPermissions in interface SecureObjectpublic <T extends WorkAndExpenseRecord> AssignmentContainsWorkRecord.WorkRecord<T> getWorkRecord()
workRecord.
getWorkRecord in interface ResourceAssignmentpublic ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
removeOwningGroup in interface SecureObjectpublic short getAccessLevelUpdate()
accessLevelUpdate.
getAccessLevelUpdate in interface SecureObjectaccessLevelUpdate.public void setAccessLevelUpdate(short accessLevelUpdate)
accessLevelUpdate.
setAccessLevelUpdate in interface SecureObjectaccessLevelUpdate - The non-null new value for attribute accessLevelUpdate.public Set<String> getCreatedBy()
createdBy.
getCreatedBy in interface Creatablepublic ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
setAccessLevel in interface SecureObjectpublic ContextCapable getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.public String getAccessGrantedByParent_Id()
public ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
replaceOwningGroup in interface SecureObjectpublic List<String> getOwner()
owner.
getOwner in interface SecureObjectpublic void setOwner(String... owner)
owner and adds the given value(s).
This method is equivalent to
list.clear();
for(java.lang.String e : attributeName){
list.add(e);
}
setOwner in interface SecureObjectowner - value(s) to be added to ownerpublic <T extends Context> Map<String,T> getContext()
Map of objects referenced by context.
getContext in interface ContextCapableMap of referenced objects.public User getOwningUser()
owningUser.
getOwningUser in interface SecureObjectnull – value for this reference.public String getOwningUser_Id()
public void setOwningUser(User owningUser)
owningUser.
setOwningUser in interface SecureObjectowningUser - The non-null new value for this reference.public void setOwningUser_Id(String owningUser)
public void setActivity(Activity activity)
activity.
activity - The non-null new value for this reference.public void setActivity_Id(String activity)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||