|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.persistence.AbstractEntity
public abstract class AbstractEntity
This is the abstract base class of all the generated MobileBusinessObject
implementation.
Field Summary | |
---|---|
protected boolean |
__disableSubmit
|
protected boolean |
__pending
|
protected char |
__pendingChange
|
protected long |
__replayCounter
|
protected long |
__replayFailure
|
protected long |
__replayPending
|
protected boolean |
_isDeleted
|
protected boolean |
_isDirty
|
protected boolean |
_isNew
|
static char |
PENDING_CREATE
Pending change - create. |
static char |
PENDING_DELETE
Pending change - delete. |
static char |
PENDING_NO
Pending change - no pending. |
static char |
PENDING_PARENT
Pending change - parent. |
static char |
PENDING_UPDATE
Pending change - update. |
Constructor Summary | |
---|---|
AbstractEntity()
|
Method Summary | |
---|---|
protected void |
bind(ianywhere.ultralitej.ResultSet rs)
|
static void |
findWithoutParameters(ConnectionWrapper conn,
int skip,
int take,
ObjectList outList,
java.lang.String selectSQL,
java.lang.Class cl)
Sybase internal use only. |
static void |
findWithQuery(ConnectionWrapper conn,
Query query,
ObjectList outList,
java.lang.Class cl)
Sybase internal use only. |
boolean |
getDisableSubmit()
Gets the disable submit attribute of the Mobile business Object. |
static Query |
getLogRecordQuery(java.lang.String entityName,
java.lang.String idString)
Sybase internal use only. |
boolean |
getPending()
Gets the pending value of the Mobile Business Object. |
char |
getPendingChange()
Gets the pending change value of the Mobile business Object. |
long |
getReplayCounter()
Gets the replay counter attribute of the Mobile business Object. |
long |
getReplayFailure()
Gets the replay failure value of the Mobile business Object. |
long |
getReplayPending()
Gets the replay pending value of the Mobile business Object. |
static int |
getRowCount(ConnectionWrapper conn,
Query query)
Sybase internal use only. |
boolean |
isCreated()
Returns true if this entity was created and saved to the database. |
boolean |
isDirty()
Returns true if this entity was loaded from the database and was subsequently modified (in memory), but the change has not yet been saved to the database. |
boolean |
isNew()
Returns true if the MBO is just created and not saved to DB yet |
boolean |
isPending()
Gets the pending value of the Mobile business Object. |
boolean |
isUpdated()
Returns true if this entity was updated and saved to the database. |
void |
setDirty(boolean dirty)
Sybase internal use only. |
void |
setDisableSubmit(boolean ___disableSubmit)
Sets the disable submit attribute of the Mobile business Object. |
void |
setPending(boolean ___pending)
Sets the pending value of the Mobile Business Object. |
void |
setPendingChange(char ___pendingChange)
Sets the pending change value of the Mobile business Object. |
void |
setReplayCounter(long ___replayCounter)
Sets the replay counter attribute of the Mobile business Object. |
void |
setReplayFailure(long ___replayFailure)
Sets the replay failure value of the Mobile business Object. |
void |
setReplayPending(long ___replayPending)
Sets the replay pending value of the Mobile business Object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final char PENDING_NO
public static final char PENDING_CREATE
public static final char PENDING_UPDATE
public static final char PENDING_DELETE
public static final char PENDING_PARENT
protected boolean _isNew
protected boolean _isDirty
protected boolean _isDeleted
protected boolean __pending
protected char __pendingChange
protected boolean __disableSubmit
protected long __replayCounter
protected long __replayPending
protected long __replayFailure
Constructor Detail |
---|
public AbstractEntity()
Method Detail |
---|
public boolean getPending()
public void setPending(boolean ___pending)
public char getPendingChange()
public void setPendingChange(char ___pendingChange)
public boolean getDisableSubmit()
public void setDisableSubmit(boolean ___disableSubmit)
disableSubmit
- the disable submit valuepublic long getReplayCounter()
public void setReplayCounter(long ___replayCounter)
___replayCounter
- public long getReplayPending()
public void setReplayPending(long ___replayPending)
public long getReplayFailure()
public void setReplayFailure(long ___replayFailure)
replayFailure
- replay failure valuepublic boolean isNew()
public boolean isDirty()
public void setDirty(boolean dirty)
public boolean isPending()
public boolean isCreated()
public boolean isUpdated()
protected void bind(ianywhere.ultralitej.ResultSet rs) throws ianywhere.ultralitej.ULjException
ianywhere.ultralitej.ULjException
public static void findWithoutParameters(ConnectionWrapper conn, int skip, int take, ObjectList outList, java.lang.String selectSQL, java.lang.Class cl)
public static void findWithQuery(ConnectionWrapper conn, Query query, ObjectList outList, java.lang.Class cl)
public static int getRowCount(ConnectionWrapper conn, Query query)
public static Query getLogRecordQuery(java.lang.String entityName, java.lang.String idString)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |