|
||||||||||
| 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.WorkReportEntry
public class WorkReportEntry
Class WorkReportEntry
| Nested Class Summary | |
|---|---|
static class |
WorkReportEntry.Identity
The object's application identity |
static class |
WorkReportEntry.Slice
Slice object hold the WorkReportEntry'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::WorkReportEntry |
| Constructor Summary | |
|---|---|
WorkReportEntry()
|
|
| Method Summary | ||
|---|---|---|
ModifySecureObjectResult |
addOwningGroup(ModifyOwningGroupParams in)
|
|
void |
addToSegment(Segment segment)
Sets a new value for the reference segment. |
|
void |
addToSegment(Segment segment,
boolean idIsPersistent,
String id)
Set the object's composite association org:opencrx:kernel:activity1:SegmentContainsWorkReportEntry. |
|
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. |
|
Activity |
getActivity()
Retrieves the value for the reference activity. |
|
String |
getActivityNumber()
Retrieves the value for the attribute activityNumber. |
|
ResourceAssignment |
getAssignment()
Retrieves the value for the reference assignment. |
|
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. |
|
String |
getDescription()
Retrieves the possibly null value for the optional attribute description. |
|
BigDecimal |
getDurationDecimal()
Retrieves the possibly null value for the optional attribute durationDecimal. |
|
String |
getDurationHhMm()
Retrieves the possibly null value for the optional attribute durationHhMm. |
|
short |
getDurationHours()
Retrieves the value for the attribute durationHours. |
|
short |
getDurationMinutes()
Retrieves the value for the attribute durationMinutes. |
|
Date |
getEndedAt()
Retrieves the value for the 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. |
|
BigDecimal |
getPauseDurationDecimal()
Retrieves the possibly null value for the optional attribute pauseDurationDecimal. |
|
String |
getPauseDurationHhMm()
Retrieves the possibly null value for the optional attribute pauseDurationHhMm. |
|
Short |
getPauseDurationHours()
Retrieves the possibly null value for the optional attribute pauseDurationHours. |
|
Short |
getPauseDurationMinutes()
Retrieves the possibly null value for the optional attribute pauseDurationMinutes. |
|
Resource |
getResource()
Retrieves the value for the reference resource. |
|
Date |
getStartedAt()
Retrieves the value for the attribute startedAt. |
|
|
getView()
Retrieves a set containing all the elements for the reference view. |
|
ActivityWorkRecord |
getWorkRecord()
Retrieves the value for the reference workRecord. |
|
static WorkReportEntry.Identity |
newIdentity(Segment.Identity segment,
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 WorkReportEntry.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. |
|
ModifySecureObjectResult |
setOwningUser(SetOwningUserParams in)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
void |
setResource(Resource resource)
Sets a new value for the reference resource. |
|
| 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::WorkReportEntry
public static final List<String> BASE_CLASS
WorkReportEntry.CLASS| Constructor Detail |
|---|
public WorkReportEntry()
| 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 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 Short getPauseDurationMinutes()
pauseDurationMinutes.
getPauseDurationMinutes in interface WorkReportEntrypauseDurationMinutes.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 final String getDurationHhMm()
durationHhMm.
getDurationHhMm in interface WorkReportEntrydurationHhMm.public String getIdentity()
identity.
getIdentity in interface ExtentCapableidentity.public Date getCreatedAt()
createdAt.
getCreatedAt in interface BasicObjectcreatedAt.public final String getDescription()
description.
getDescription in interface WorkReportEntrydescription.public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
removeAllOwningGroup in interface SecureObjectpublic String getName()
name.
getName in interface WorkReportEntryname.public short getBillingCurrency()
billingCurrency.
getBillingCurrency in interface WorkReportEntrybillingCurrency.public String getActivityNumber()
activityNumber.
getActivityNumber in interface WorkReportEntryactivityNumber.public ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
setOwningUser in interface SecureObjectpublic Activity getActivity()
activity.
getActivity in interface WorkReportEntrynull – value for this reference.public <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 BigDecimal getDurationDecimal()
durationDecimal.
getDurationDecimal in interface WorkReportEntrydurationDecimal.public final String getPauseDurationHhMm()
pauseDurationHhMm.
getPauseDurationHhMm in interface WorkReportEntrypauseDurationHhMm.public final Short getPauseDurationHours()
pauseDurationHours.
getPauseDurationHours in interface WorkReportEntrypauseDurationHours.public Date getEndedAt()
endedAt.
getEndedAt in interface WorkReportEntryendedAt.public Resource getResource()
resource.
getResource in interface WorkReportEntrynull – value for this reference.public void setResource(Resource resource)
resource.
setResource in interface WorkReportEntryresource - The non-null new value for this reference.public Date getStartedAt()
startedAt.
getStartedAt in interface WorkReportEntrystartedAt.public CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
checkPermissions in interface SecureObjectpublic ActivityWorkRecord getWorkRecord()
workRecord.
getWorkRecord in interface WorkReportEntrynull – value for this reference.public 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 ResourceAssignment getAssignment()
assignment.
getAssignment in interface WorkReportEntrynull – value for this reference.public short getDurationMinutes()
durationMinutes.
getDurationMinutes in interface WorkReportEntrydurationMinutes.public final Set<String> getCreatedBy()
createdBy.
getCreatedBy in interface BasicObjectpublic final BigDecimal getBillableAmount()
billableAmount.
getBillableAmount in interface WorkReportEntrybillableAmount.public final BigDecimal getPauseDurationDecimal()
pauseDurationDecimal.
getPauseDurationDecimal in interface WorkReportEntrypauseDurationDecimal.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 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.public short getDurationHours()
durationHours.
getDurationHours in interface WorkReportEntrydurationHours.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()
WorkReportEntry.CLASSpublic void addToSegment(Segment segment)
segment.
segment - The non-null new value for this reference.
public void addToSegment(Segment segment,
boolean idIsPersistent,
String id)
org:opencrx:kernel:activity1:SegmentContainsWorkReportEntry.
segment - 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 WorkReportEntry.Identity newIdentity(Segment.Identity segment,
QualifierType idType,
String id)
public static WorkReportEntry.Identity openmdxjdoToIdentity(ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||