|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.activity1.jdo2.ActivityWorkRecord
public class ActivityWorkRecord
Class ActivityWorkRecord
| Nested Class Summary | |
|---|---|
static class |
ActivityWorkRecord.Identity
The object's application identity |
static class |
ActivityWorkRecord.Slice
Slice object hold the ActivityWorkRecord's multivalued attributes |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
| Field Summary | |
|---|---|
static List<String> |
BASE_CLASS
Define this class as base class |
static List<String> |
CLASS
Define the model class org::opencrx::kernel::activity1::ActivityWorkRecord |
| Constructor Summary | |
|---|---|
ActivityWorkRecord()
|
|
| Method Summary | ||
|---|---|---|
ModifySecureObjectResult |
addOwningGroup(ModifyOwningGroupParams in)
|
|
void |
addToAssignment(ResourceAssignment assignment)
Sets a new value for the reference assignment. |
|
void |
addToAssignment(ResourceAssignment assignment,
boolean idIsPersistent,
String id)
Set the object's composite association org:opencrx:kernel:activity1:AssignmentContainsWorkRecord. |
|
Void |
assignToMe()
|
|
CheckPermissionsResult |
checkPermissions(CheckPermissionsParams in)
|
|
ViewCapable |
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. |
|
BigDecimal |
getBillableAmount()
Retrieves the possibly null value for the optional attribute billableAmount. |
|
short |
getBillingCurrency()
Retrieves the value for the attribute billingCurrency. |
|
|
getContext()
Retrieves the Collection 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. |
|
short |
getDepotSelector()
Retrieves the value for the attribute depotSelector. |
|
String |
getDescription()
Retrieves the possibly null value for the optional attribute description. |
|
short |
getDurationCalculationMode()
Retrieves the value for the attribute durationCalculationMode. |
|
int |
getDurationHours()
Retrieves the value for the attribute durationHours. |
|
int |
getDurationMinutes()
Retrieves the value for the attribute durationMinutes. |
|
Date |
getEndedAt()
Retrieves the possibly null value for the optional attribute endedAt. |
|
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. |
|
List<String> |
getOwner()
Retrieves a list containing all the elements for the attribute owner. |
|
|
getOwningGroup()
Retrieves the Collection of objects referenced by owningGroup. |
|
User |
getOwningUser()
Retrieves the value for the reference owningUser. |
|
Integer |
getPauseDurationHours()
Retrieves the possibly null value for the optional attribute pauseDurationHours. |
|
Integer |
getPauseDurationMinutes()
Retrieves the possibly null value for the optional attribute pauseDurationMinutes. |
|
BigDecimal |
getRate()
Retrieves the possibly null value for the optional attribute rate. |
|
short |
getRateType()
Retrieves the value for the attribute rateType. |
|
Date |
getStartedAt()
Retrieves the possibly null value for the optional attribute startedAt. |
|
|
getView()
Retrieves a set containing all the elements for the reference view. |
|
CompoundBooking |
getWorkCb()
Retrieves the value for the reference workCb. |
|
boolean |
isBillable()
Retrieves the value for the attribute isBillable. |
|
static ActivityWorkRecord.Identity |
newIdentity(ResourceAssignment.Identity assignment,
QualifierType idType,
String id)
|
|
protected org.w3c.jdo2.AbstractObject.Slice |
newSlice(int index)
|
|
protected List<String> |
openmdxjdoGetClass()
Retrieve the model class |
|
protected String |
openmdxjdoGetObjectId()
Retrieve the object's JDO identity key |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
static ActivityWorkRecord.Identity |
openmdxjdoToIdentity(ObjectId objectId)
|
|
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 |
setBillable(boolean isBillable)
Sets a new value for the attribute isBillable. |
|
void |
setBillingCurrency(short billingCurrency)
Sets a new value for the attribute billingCurrency. |
|
void |
setDepotSelector(short depotSelector)
Sets a new value for the attribute depotSelector. |
|
void |
setDescription(String description)
Sets a new value for the attribute description. |
|
void |
setDurationCalculationMode(short durationCalculationMode)
Sets a new value for the attribute durationCalculationMode. |
|
void |
setDurationHours(int durationHours)
Sets a new value for the attribute durationHours. |
|
void |
setDurationMinutes(int durationMinutes)
Sets a new value for the attribute durationMinutes. |
|
void |
setEndedAt(Date endedAt)
Sets a new value for the attribute endedAt. |
|
void |
setName(String name)
Sets a new value for the attribute name. |
|
ModifySecureObjectResult |
setOwningUser(SetOwningUserParams in)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
void |
setPauseDurationHours(Integer pauseDurationHours)
Sets a new value for the attribute pauseDurationHours. |
|
void |
setPauseDurationMinutes(Integer pauseDurationMinutes)
Sets a new value for the attribute pauseDurationMinutes. |
|
void |
setRate(BigDecimal rate)
Sets a new value for the attribute rate. |
|
void |
setRateType(short rateType)
Sets a new value for the attribute rateType. |
|
void |
setStartedAt(Date startedAt)
Sets a new value for the attribute startedAt. |
|
| Methods inherited from class org.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::activity1::ActivityWorkRecord
public static final List<String> BASE_CLASS
ActivityWorkRecord.CLASS| Constructor Detail |
|---|
public ActivityWorkRecord()
| Method Detail |
|---|
protected String openmdxjdoGetObjectId()
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiableprotected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObjectpublic short getDurationCalculationMode()
durationCalculationMode.
getDurationCalculationMode in interface AbstractWorkRecorddurationCalculationMode.public void setDurationCalculationMode(short durationCalculationMode)
durationCalculationMode.
setDurationCalculationMode in interface AbstractWorkRecorddurationCalculationMode - The non-null new value for attribute durationCalculationMode.public short getRateType()
rateType.
getRateType in interface AbstractWorkRecordrateType.public void setRateType(short rateType)
rateType.
setRateType in interface AbstractWorkRecordrateType - The non-null new value for attribute rateType.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 BasicObjectmodifiedAt.public final Set<String> getModifiedBy()
modifiedBy.
getModifiedBy in interface BasicObjectpublic final Integer getPauseDurationMinutes()
pauseDurationMinutes.
getPauseDurationMinutes in interface AbstractWorkRecordpauseDurationMinutes.public void setPauseDurationMinutes(Integer pauseDurationMinutes)
pauseDurationMinutes.
setPauseDurationMinutes in interface AbstractWorkRecordpauseDurationMinutes - The possibly null new value for attribute pauseDurationMinutes.public Void assignToMe()
assignToMe in interface Assignablepublic CompoundBooking getWorkCb()
workCb.
getWorkCb in interface AbstractWorkRecordnull – value for this reference.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 final BigDecimal getRate()
rate.
getRate in interface AbstractWorkRecordrate.public void setRate(BigDecimal rate)
rate.
setRate in interface AbstractWorkRecordrate - The possibly null new value for attribute rate.public short getDepotSelector()
depotSelector.
getDepotSelector in interface AbstractWorkRecorddepotSelector.public void setDepotSelector(short depotSelector)
depotSelector.
setDepotSelector in interface AbstractWorkRecorddepotSelector - The non-null new value for attribute depotSelector.public boolean isBillable()
isBillable.
isBillable in interface AbstractWorkRecordisBillable.public void setBillable(boolean isBillable)
isBillable.
setBillable in interface AbstractWorkRecordisBillable - The non-null new value for attribute isBillable.public final String getDescription()
description.
getDescription in interface AbstractWorkRecorddescription.public void setDescription(String description)
description.
setDescription in interface AbstractWorkRecorddescription - The possibly null new value for attribute description.public Date getCreatedAt()
createdAt.
getCreatedAt in interface BasicObjectcreatedAt.public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
removeAllOwningGroup in interface SecureObjectpublic String getName()
name.
getName in interface AbstractWorkRecordname.public void setName(String name)
name.
setName in interface AbstractWorkRecordname - The non-null new value for attribute name.public short getBillingCurrency()
billingCurrency.
getBillingCurrency in interface AbstractWorkRecordbillingCurrency.public void setBillingCurrency(short billingCurrency)
billingCurrency.
setBillingCurrency in interface AbstractWorkRecordbillingCurrency - The non-null new value for attribute billingCurrency.public ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
setOwningUser in interface SecureObjectpublic <T extends PrincipalGroup> List<T> getOwningGroup()
Collection of objects referenced by owningGroup.
getOwningGroup in interface SecureObjectCollection of referenced objects.public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
addOwningGroup in interface SecureObjectpublic final Integer getPauseDurationHours()
pauseDurationHours.
getPauseDurationHours in interface AbstractWorkRecordpauseDurationHours.public void setPauseDurationHours(Integer pauseDurationHours)
pauseDurationHours.
setPauseDurationHours in interface AbstractWorkRecordpauseDurationHours - The possibly null new value for attribute pauseDurationHours.public final Date getEndedAt()
endedAt.
getEndedAt in interface AbstractWorkRecordendedAt.public void setEndedAt(Date endedAt)
endedAt.
setEndedAt in interface AbstractWorkRecordendedAt - The possibly null new value for attribute endedAt.public final Date getStartedAt()
startedAt.
getStartedAt in interface AbstractWorkRecordstartedAt.public void setStartedAt(Date startedAt)
startedAt.
setStartedAt in interface AbstractWorkRecordstartedAt - The possibly null new value for attribute startedAt.public CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
checkPermissions in interface SecureObjectpublic 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 int getDurationMinutes()
durationMinutes.
getDurationMinutes in interface AbstractWorkRecorddurationMinutes.public void setDurationMinutes(int durationMinutes)
durationMinutes.
setDurationMinutes in interface AbstractWorkRecorddurationMinutes - The non-null new value for attribute durationMinutes.public final Set<String> getCreatedBy()
createdBy.
getCreatedBy in interface BasicObjectpublic final BigDecimal getBillableAmount()
billableAmount.
getBillableAmount in interface AbstractWorkRecordbillableAmount.public ViewCapable getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
setAccessLevel in interface SecureObjectpublic <T extends Context> Map<String,T> getContext()
Collection of objects referenced by context.
getContext in interface ContextCapableCollection of referenced objects.public final List<String> getOwner()
owner.
getOwner in interface SecureObjectpublic ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
replaceOwningGroup in interface SecureObjectpublic <T extends View> ObjectHasView.View<T> getView()
view.
getView in interface ViewCapablepublic int getDurationHours()
durationHours.
getDurationHours in interface AbstractWorkRecorddurationHours.public void setDurationHours(int durationHours)
durationHours.
setDurationHours in interface AbstractWorkRecorddurationHours - The non-null new value for attribute durationHours.public User getOwningUser()
owningUser.
getOwningUser in interface SecureObjectnull – value for this reference.public void setOwningUser(User owningUser)
owningUser.
setOwningUser in interface SecureObjectowningUser - The non-null new value for this reference.protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObjectprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
protected List<String> openmdxjdoGetClass()
ActivityWorkRecord.CLASSpublic void addToAssignment(ResourceAssignment assignment)
assignment.
assignment - The non-null new value for this reference.
public void addToAssignment(ResourceAssignment assignment,
boolean idIsPersistent,
String id)
org:opencrx:kernel:activity1:AssignmentContainsWorkRecord.
assignment - The non-null new value for this object's composite owner.idIsPersistent - Defines whether the id is persistent.id - The non-null new value for this object's qualifier.
public static ActivityWorkRecord.Identity newIdentity(ResourceAssignment.Identity assignment,
QualifierType idType,
String id)
public static ActivityWorkRecord.Identity openmdxjdoToIdentity(ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||