|
||||||||||
| 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.WorkAndExpenseRecord
public class WorkAndExpenseRecord
Class WorkAndExpenseRecord
| 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.WorkAndExpenseRecord |
|---|
WorkAndExpenseRecord.Identity |
| Field Summary | |
|---|---|
Timestamp |
createdAt
Attribute createdAt. |
String |
identity
Attribute identity. |
Timestamp |
modifiedAt
Attribute modifiedAt. |
| Constructor Summary | |
|---|---|
WorkAndExpenseRecord()
Constructor |
|
| Method Summary | ||
|---|---|---|
ModifySecureObjectResult |
addOwningGroup(ModifyOwningGroupParams in)
|
|
Void |
assignToMe()
|
|
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 |
getActivity_Id()
|
|
Activity |
getActivity()
Retrieves the value for the reference activity. |
|
BigDecimal |
getBillableAmount()
Retrieves the possibly null value for the optional attribute billableAmount. |
|
short |
getBillingCurrency()
Retrieves the value for the attribute billingCurrency. |
|
|
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. |
|
short |
getDepotSelector()
Retrieves the value for the attribute depotSelector. |
|
String |
getDescription()
Retrieves the possibly null value for the optional attribute description. |
|
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. |
|
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. |
|
short |
getPaymentType()
Retrieves the value for the attribute paymentType. |
|
BigDecimal |
getQuantity()
Retrieves the possibly null value for the optional attribute quantity. |
|
String |
getQuantityUom_Id()
|
|
Uom |
getQuantityUom()
Retrieves the value for the reference quantityUom. |
|
BigDecimal |
getRate()
Retrieves the possibly null value for the optional attribute rate. |
|
short |
getRecordType()
Retrieves the value for the attribute recordType. |
|
String |
getResource_Id()
|
|
Resource |
getResource()
Retrieves the value for the reference resource. |
|
Date |
getStartedAt()
Retrieves the possibly null value for the optional attribute startedAt. |
|
String |
getWorkCb_Id()
|
|
CompoundBooking |
getWorkCb()
Retrieves the value for the reference workCb. |
|
Boolean |
isBillable()
Retrieves the possibly null value for the optional attribute isBillable. |
|
Boolean |
isReimbursable()
Retrieves the possibly null value for the optional attribute isReimbursable. |
|
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 |
setAssignment_Id(String assignment)
|
|
void |
setAssignment(ResourceAssignment assignment)
Sets a new value for the reference assignment. |
|
void |
setBillable(Boolean isBillable)
Sets a new value for the attribute isBillable. |
|
void |
setBillableAmount(BigDecimal billableAmount)
Sets a new value for the attribute billableAmount. |
|
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 |
setEndedAt(Date endedAt)
Sets a new value for the attribute endedAt. |
|
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 |
setPaymentType(short paymentType)
Sets a new value for the attribute paymentType. |
|
void |
setQuantity(BigDecimal quantity)
Sets a new value for the attribute quantity. |
|
void |
setQuantityUom_Id(String quantityUom)
|
|
void |
setQuantityUom(Uom quantityUom)
Sets a new value for the reference quantityUom. |
|
void |
setRate(BigDecimal rate)
Sets a new value for the attribute rate. |
|
void |
setRecordType(short recordType)
Sets a new value for the attribute recordType. |
|
void |
setReimbursable(Boolean isReimbursable)
Sets a new value for the attribute isReimbursable. |
|
void |
setStartedAt(Date startedAt)
Sets a new value for the attribute startedAt. |
|
void |
setWorkCb_Id(String workCb)
|
|
void |
setWorkCb(CompoundBooking workCb)
Sets a new value for the reference workCb. |
|
| 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 WorkAndExpenseRecord()
| 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 WorkAndExpenseRecord$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 CompoundBooking getWorkCb()
workCb.
getWorkCb in interface WorkAndExpenseRecordnull – value for this reference.public String getWorkCb_Id()
public void setWorkCb(CompoundBooking workCb)
workCb.
setWorkCb in interface WorkAndExpenseRecordworkCb - The non-null new value for this reference.public void setWorkCb_Id(String workCb)
public Void assignToMe()
assignToMe in interface Assignablepublic 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 WorkAndExpenseRecordrate.public void setRate(BigDecimal rate)
rate.
setRate in interface WorkAndExpenseRecordrate - The possibly null new value for attribute rate.public short getDepotSelector()
depotSelector.
getDepotSelector in interface WorkAndExpenseRecorddepotSelector.public void setDepotSelector(short depotSelector)
depotSelector.
setDepotSelector in interface WorkAndExpenseRecorddepotSelector - The non-null new value for attribute depotSelector.public Date getCreatedAt()
createdAt.
getCreatedAt in interface CreatablecreatedAt.public final Boolean isBillable()
isBillable.
isBillable in interface WorkAndExpenseRecordisBillable.public void setBillable(Boolean isBillable)
isBillable.
setBillable in interface WorkAndExpenseRecordisBillable - The possibly null new value for attribute isBillable.public final String getDescription()
description.
getDescription in interface WorkAndExpenseRecorddescription.public void setDescription(String description)
description.
setDescription in interface WorkAndExpenseRecorddescription - The possibly null new value for attribute description.public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
removeAllOwningGroup in interface SecureObjectpublic String getName()
name.
getName in interface WorkAndExpenseRecordname.public void setName(String name)
name.
setName in interface WorkAndExpenseRecordname - The non-null new value for attribute name.public short getBillingCurrency()
billingCurrency.
getBillingCurrency in interface WorkAndExpenseRecordbillingCurrency.public void setBillingCurrency(short billingCurrency)
billingCurrency.
setBillingCurrency in interface WorkAndExpenseRecordbillingCurrency - The non-null new value for attribute billingCurrency.public final BigDecimal getQuantity()
quantity.
getQuantity in interface WorkAndExpenseRecordquantity.public void setQuantity(BigDecimal quantity)
quantity.
setQuantity in interface WorkAndExpenseRecordquantity - The possibly null new value for attribute quantity.public short getRecordType()
recordType.
getRecordType in interface WorkAndExpenseRecordrecordType.public void setRecordType(short recordType)
recordType.
setRecordType in interface WorkAndExpenseRecordrecordType - The non-null new value for attribute recordType.public ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
setOwningUser in interface SecureObjectpublic Activity getActivity()
activity.
getActivity in interface WorkAndExpenseRecordnull – value for this reference.public String getActivity_Id()
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 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
addOwningGroup in interface SecureObjectpublic Uom getQuantityUom()
quantityUom.
getQuantityUom in interface WorkAndExpenseRecordnull – value for this reference.public String getQuantityUom_Id()
public void setQuantityUom(Uom quantityUom)
quantityUom.
setQuantityUom in interface WorkAndExpenseRecordquantityUom - The non-null new value for this reference.public void setQuantityUom_Id(String quantityUom)
public short getPaymentType()
paymentType.
getPaymentType in interface WorkAndExpenseRecordpaymentType.public void setPaymentType(short paymentType)
paymentType.
setPaymentType in interface WorkAndExpenseRecordpaymentType - The non-null new value for attribute paymentType.public final Date getEndedAt()
endedAt.
getEndedAt in interface WorkAndExpenseRecordendedAt.public void setEndedAt(Date endedAt)
endedAt.
setEndedAt in interface WorkAndExpenseRecordendedAt - The possibly null new value for attribute endedAt.public Resource getResource()
resource.
getResource in interface WorkAndExpenseRecordnull – value for this reference.public String getResource_Id()
public final Date getStartedAt()
startedAt.
getStartedAt in interface WorkAndExpenseRecordstartedAt.public void setStartedAt(Date startedAt)
startedAt.
setStartedAt in interface WorkAndExpenseRecordstartedAt - 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 Set<String> getCreatedBy()
createdBy.
getCreatedBy in interface Creatablepublic final BigDecimal getBillableAmount()
billableAmount.
getBillableAmount in interface WorkAndExpenseRecordbillableAmount.public void setBillableAmount(BigDecimal billableAmount)
billableAmount.
setBillableAmount in interface WorkAndExpenseRecordbillableAmount - The possibly null new value for attribute billableAmount.public ContextCapable getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.public String getAccessGrantedByParent_Id()
public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
setAccessLevel in interface SecureObjectpublic final Boolean isReimbursable()
isReimbursable.
isReimbursable in interface WorkAndExpenseRecordisReimbursable.public void setReimbursable(Boolean isReimbursable)
isReimbursable.
setReimbursable in interface WorkAndExpenseRecordisReimbursable - The possibly null new value for attribute isReimbursable.public 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 ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
replaceOwningGroup in interface SecureObjectpublic 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 setAssignment(ResourceAssignment assignment)
assignment.
assignment - The non-null new value for this reference.public void setAssignment_Id(String assignment)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||