|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectibilling.client.ClientObject
public abstract class ClientObject
Base class for all classes representing business entities within the library.
| Field Summary | |
|---|---|
private java.util.Map<java.lang.String,java.lang.Object> |
clientProperties
Stores custom attributes associated with this object instance. |
private java.lang.String |
code
User assigned identifier. |
private java.util.Date |
createDate
Date the transaction was created. |
private java.lang.Long |
id
System generated identifier. |
private java.lang.Integer |
merchantAccountCode
Merchant account code. |
private java.lang.Integer |
refId
|
| Constructor Summary | |
|---|---|
ClientObject()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getClientProperty(java.lang.String key)
Gets the client property. |
java.lang.String |
getCode()
Returns the code used to uniquely identify the object. |
java.util.Date |
getCreateDate()
Gets the create date. |
(package private) java.lang.Long |
getId()
Gets the id. |
java.lang.Integer |
getMerchantAccountCode()
Returns the code identifying merchant to which the object belongs. |
java.lang.Integer |
getRefId()
|
boolean |
hasClientProperty(java.lang.String name)
Checks for client property. |
void |
setClientProperty(java.lang.String key,
java.lang.Object value)
Sets the client property. |
void |
setCode(java.lang.String code)
Sets the code. |
(package private) void |
setCreateDate(java.util.Date createDate)
Sets the create date. |
(package private) void |
setId(java.lang.Long id)
Sets the id. |
(package private) void |
setMerchantAccountCode(java.lang.Integer merchantAccountCode)
Set a value to merchantAccountCode. |
void |
setRefId(java.lang.Integer refId)
|
abstract java.lang.String |
type()
Returns the type of the object instance using library's terminology In most cases it will match ClassName, but when a single class may represent multiple conceptual objects, the value will differ. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.Long id
private java.util.Date createDate
private java.lang.String code
private java.lang.Integer merchantAccountCode
private java.lang.Integer refId
private transient java.util.Map<java.lang.String,java.lang.Object> clientProperties
| Constructor Detail |
|---|
public ClientObject()
| Method Detail |
|---|
java.lang.Long getId()
void setId(java.lang.Long id)
id - the new idpublic java.util.Date getCreateDate()
void setCreateDate(java.util.Date createDate)
createDate - the new create datepublic java.lang.String getCode()
public void setCode(java.lang.String code)
code - the new codepublic java.lang.Integer getMerchantAccountCode()
void setMerchantAccountCode(java.lang.Integer merchantAccountCode)
merchantAccountCode - the merchant account code
public void setClientProperty(java.lang.String key,
java.lang.Object value)
key - the keyvalue - the valuepublic java.lang.Object getClientProperty(java.lang.String key)
key - the key
public boolean hasClientProperty(java.lang.String name)
name - the name
public abstract java.lang.String type()
public void setRefId(java.lang.Integer refId)
public java.lang.Integer getRefId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||