org.marketchangers.prayer
Class UserContract

java.lang.Object
  extended byorg.marketchangers.prayer.PersistentObject
      extended byorg.marketchangers.prayer.UserContract

public class UserContract
extends PersistentObject

Author:
Jason Williams, Yong Pak, Jianshuo Niu

Field Summary
static java.lang.String ACCEPTED
           
static java.lang.String CANCELLED
           
static java.lang.String DECLINED
           
static java.lang.String INITIATED
          In the case of prayer requests, contracts are initiated by the requestor, and accepted by the intercessor.
 
Fields inherited from class org.marketchangers.prayer.PersistentObject
id
 
Constructor Summary
UserContract()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.Date getDate()
           
 java.lang.String getRequesteeUserId()
           
 java.lang.String getRequestorUserId()
           
 java.lang.String getStatus()
           
 java.lang.String getType()
          Deprecated. Does not seem to be used anywhere? Undeprecate and add a comment explaining this field here if I'm wrong. -- MT
 int hashCode()
           
 void setDate(java.util.Date date)
           
 void setRequesteeUserId(java.lang.String string)
           
 void setRequestorUserId(java.lang.String string)
           
 void setStatus(java.lang.String string)
           
 void setType(java.lang.String string)
          Deprecated. Does not seem to be used anywhere? Undeprecate and add a comment explaining this field here if I'm wrong. -- MT
 boolean validate()
           
 
Methods inherited from class org.marketchangers.prayer.PersistentObject
getId, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITIATED

public static final java.lang.String INITIATED
In the case of prayer requests, contracts are initiated by the requestor, and accepted by the intercessor. When the requestor withdraws the request, the contract is immediately removed from the system, without the intercessor's interaction.

See Also:
Constant Field Values

ACCEPTED

public static final java.lang.String ACCEPTED
See Also:
Constant Field Values

DECLINED

public static final java.lang.String DECLINED
See Also:
Constant Field Values

CANCELLED

public static final java.lang.String CANCELLED
See Also:
Constant Field Values
Constructor Detail

UserContract

public UserContract()
Method Detail

getDate

public java.util.Date getDate()
Returns:

getStatus

public java.lang.String getStatus()
Returns:

getType

public java.lang.String getType()
Deprecated. Does not seem to be used anywhere? Undeprecate and add a comment explaining this field here if I'm wrong. -- MT

Returns:

setDate

public void setDate(java.util.Date date)
Parameters:
date -

setStatus

public void setStatus(java.lang.String string)
Parameters:
string -

setType

public void setType(java.lang.String string)
Deprecated. Does not seem to be used anywhere? Undeprecate and add a comment explaining this field here if I'm wrong. -- MT

Parameters:
string -

getRequesteeUserId

public java.lang.String getRequesteeUserId()
Returns:

getRequestorUserId

public java.lang.String getRequestorUserId()
Returns:

setRequesteeUserId

public void setRequesteeUserId(java.lang.String string)
Parameters:
string -

setRequestorUserId

public void setRequestorUserId(java.lang.String string)
Parameters:
string -

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

validate

public boolean validate()


Copyright © 2004 Web Commerce Group, LLC. All Rights Reserved.