org.opencrx.kernel.activity1.cci2
Interface WorkAndExpenseRecord

All Superinterfaces:
Assignable, BasicObject, BookingOrigin, ContextCapable, Creatable, ExtentCapable, Modifiable, SecureObject
All Known Subinterfaces:
ActivityWorkRecord, ActivityWorkRecord, WorkAndExpenseRecord
All Known Implementing Classes:
ActivityWorkRecord, WorkAndExpenseRecord

public interface WorkAndExpenseRecord
extends Assignable, SecureObject, BookingOrigin, BasicObject

Class WorkAndExpenseRecord


Nested Class Summary
static interface WorkAndExpenseRecord.Identity
          Object Identity
 
Method Summary
 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.
 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 getName()
          Retrieves the value for the attribute name.
 short getPaymentType()
          Retrieves the value for the attribute paymentType.
 BigDecimal getQuantity()
          Retrieves the possibly null value for the optional attribute quantity.
 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.
 Resource getResource()
          Retrieves the value for the reference resource.
 Date getStartedAt()
          Retrieves the possibly null value for the optional attribute startedAt.
 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.
 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.
 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(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(CompoundBooking workCb)
          Sets a new value for the reference workCb.
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Assignable
assignToMe
 
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

getActivity

Activity getActivity()
Retrieves the value for the reference activity.

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

getBillableAmount

BigDecimal getBillableAmount()
Retrieves the possibly null value for the optional attribute billableAmount.

Returns:
The possibly null value for attribute billableAmount.

setBillableAmount

void setBillableAmount(BigDecimal billableAmount)
Sets a new value for the attribute billableAmount.

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

getBillingCurrency

short getBillingCurrency()
Retrieves the value for the attribute billingCurrency.

Returns:
The non-null value for attribute billingCurrency.

setBillingCurrency

void setBillingCurrency(short billingCurrency)
Sets a new value for the attribute billingCurrency.

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

getDepotSelector

short getDepotSelector()
Retrieves the value for the attribute depotSelector.

Returns:
The non-null value for attribute depotSelector.

setDepotSelector

void setDepotSelector(short depotSelector)
Sets a new value for the attribute depotSelector.

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

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.

getEndedAt

Date getEndedAt()
Retrieves the possibly null value for the optional attribute endedAt.

Returns:
The possibly null value for attribute endedAt.

setEndedAt

void setEndedAt(Date endedAt)
Sets a new value for the attribute endedAt.

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

isBillable

Boolean isBillable()
Retrieves the possibly null value for the optional attribute isBillable.

Returns:
The possibly null value for attribute isBillable.

setBillable

void setBillable(Boolean isBillable)
Sets a new value for the attribute isBillable.

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

isReimbursable

Boolean isReimbursable()
Retrieves the possibly null value for the optional attribute isReimbursable.

Returns:
The possibly null value for attribute isReimbursable.

setReimbursable

void setReimbursable(Boolean isReimbursable)
Sets a new value for the attribute isReimbursable.

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

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.

getPaymentType

short getPaymentType()
Retrieves the value for the attribute paymentType.

Returns:
The non-null value for attribute paymentType.

setPaymentType

void setPaymentType(short paymentType)
Sets a new value for the attribute paymentType.

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

getQuantity

BigDecimal getQuantity()
Retrieves the possibly null value for the optional attribute quantity.

Returns:
The possibly null value for attribute quantity.

setQuantity

void setQuantity(BigDecimal quantity)
Sets a new value for the attribute quantity.

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

getQuantityUom

Uom getQuantityUom()
Retrieves the value for the reference quantityUom.

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

setQuantityUom

void setQuantityUom(Uom quantityUom)
Sets a new value for the reference quantityUom.

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

getRate

BigDecimal getRate()
Retrieves the possibly null value for the optional attribute rate.

Returns:
The possibly null value for attribute rate.

setRate

void setRate(BigDecimal rate)
Sets a new value for the attribute rate.

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

getRecordType

short getRecordType()
Retrieves the value for the attribute recordType.

Returns:
The non-null value for attribute recordType.

setRecordType

void setRecordType(short recordType)
Sets a new value for the attribute recordType.

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

getResource

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

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

getStartedAt

Date getStartedAt()
Retrieves the possibly null value for the optional attribute startedAt.

Returns:
The possibly null value for attribute startedAt.

setStartedAt

void setStartedAt(Date startedAt)
Sets a new value for the attribute startedAt.

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

getWorkCb

CompoundBooking getWorkCb()
Retrieves the value for the reference workCb.

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

setWorkCb

void setWorkCb(CompoundBooking workCb)
Sets a new value for the reference workCb.

Parameters:
workCb - The non-null new value 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.