Groovy Documentation

com.ace.mws.mam
[Groovy] Class FundTransaction

java.lang.Object
  com.ace.mws.mam.FundTransaction

class FundTransaction

Represents a Moab Accounting Manager transaction.

Authors:
bsaville


Field Summary
private String action

Action name for the transaction.

private BigDecimal amount

Amount of the transaction.

private Long id

private String instance

Instance name.

private String machine

The machine associated with the transaction.

private String object

Object's name associated with the transaction.

private String project

The project associated with the transaction.

private Date time

The date at which the transaction occurred.

private String user

The user associated with the transaction.

 
Constructor Summary
FundTransaction()

 
Method Summary
String getAction()

Action name for the transaction.

BigDecimal getAmount()

Amount of the transaction.

Long getId()

String getInstance()

Instance name.

String getMachine()

The machine associated with the transaction.

String getObject()

Object's name associated with the transaction.

String getProject()

The project associated with the transaction.

Date getTime()

The date at which the transaction occurred.

String getUser()

The user associated with the transaction.

void setAction(String action)

Action name for the transaction.

void setAmount(BigDecimal amount)

Amount of the transaction.

void setId(Long id)

void setInstance(String instance)

Instance name.

void setMachine(String machine)

The machine associated with the transaction.

void setObject(String object)

Object's name associated with the transaction.

void setProject(String project)

The project associated with the transaction.

void setTime(Date time)

The date at which the transaction occurred.

void setUser(String user)

The user associated with the transaction.

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

action

private String action
Action name for the transaction.


amount

private BigDecimal amount
Amount of the transaction. A positive or amount signifies a credit, while a negative or zero amount signifies a debit.


id

private Long id


instance

private String instance
Instance name.


machine

private String machine
The machine associated with the transaction. For a credit this will likely be zero.
This field is not available in the Cloud context.


object

private String object
Object's name associated with the transaction.


project

private String project
The project associated with the transaction. For a credit this will likely be zero.


time

private Date time
The date at which the transaction occurred.


user

private String user
The user associated with the transaction. For a credit this will likely be zero.


 
Constructor Detail

FundTransaction

FundTransaction()


 
Method Detail

getAction

String getAction()
Action name for the transaction.


getAmount

BigDecimal getAmount()
Amount of the transaction. A positive or amount signifies a credit, while a negative or zero amount signifies a debit.


getId

Long getId()


getInstance

String getInstance()
Instance name.


getMachine

String getMachine()
The machine associated with the transaction. For a credit this will likely be zero.
This field is not available in the Cloud context.


getObject

String getObject()
Object's name associated with the transaction.


getProject

String getProject()
The project associated with the transaction. For a credit this will likely be zero.


getTime

Date getTime()
The date at which the transaction occurred.


getUser

String getUser()
The user associated with the transaction. For a credit this will likely be zero.


setAction

void setAction(String action)
Action name for the transaction.


setAmount

void setAmount(BigDecimal amount)
Amount of the transaction. A positive or amount signifies a credit, while a negative or zero amount signifies a debit.


setId

void setId(Long id)


setInstance

void setInstance(String instance)
Instance name.


setMachine

void setMachine(String machine)
The machine associated with the transaction. For a credit this will likely be zero.
This field is not available in the Cloud context.


setObject

void setObject(String object)
Object's name associated with the transaction.


setProject

void setProject(String project)
The project associated with the transaction. For a credit this will likely be zero.


setTime

void setTime(Date time)
The date at which the transaction occurred.


setUser

void setUser(String user)
The user associated with the transaction. For a credit this will likely be zero.


toString

String toString()


 

Groovy Documentation