public class JDBCEntityBridge.EntityState extends Object
Constructor and Description |
---|
JDBCEntityBridge.EntityState() |
Modifier and Type | Method and Description |
---|---|
JDBCEntityBridge.FieldIterator |
getDirtyIterator(CmpEntityBeanContext ctx) |
JDBCEntityBridge.FieldIterator |
getLoadIterator(CmpEntityBeanContext ctx) |
JDBCEntityBridge.FieldIterator |
getLockedIterator(CmpEntityBeanContext ctx) |
boolean |
hasLockedFields() |
boolean |
isBeingRemoved() |
boolean |
isCheckDirty(int fieldIndex) |
boolean |
isCreated() |
boolean |
isLoaded(int fieldIndex) |
boolean |
isRemoved() |
boolean |
isScheduledForBatchCascadeDelete() |
boolean |
isScheduledForCascadeDelete() |
boolean |
lockValue(int fieldIndex) |
void |
resetFlags(int fieldIndex)
Resets field flags.
|
void |
scheduleForBatchCascadeDelete() |
void |
scheduleForCascadeDelete() |
void |
setCheckDirty(int fieldIndex)
The field will be checked for dirty state at commit.
|
void |
setClean(int fieldIndex)
Marks the field as clean.
|
void |
setCreated() |
void |
setIsBeingRemoved() |
void |
setLoaded(int fieldIndex)
Marks the field as loaded.
|
void |
setLoadRequired(int fieldIndex)
Marks the field to be loaded.
|
void |
setRemoved() |
void |
setUpdateRequired(int fieldIndex)
Marks the field to be updated.
|
public void setRemoved()
public boolean isRemoved()
public void setIsBeingRemoved()
public boolean isBeingRemoved()
public void scheduleForCascadeDelete()
public boolean isScheduledForCascadeDelete()
public void scheduleForBatchCascadeDelete()
public boolean isScheduledForBatchCascadeDelete()
public void setCreated()
public boolean isCreated()
public boolean isLoaded(int fieldIndex)
fieldIndex
- index of the fieldpublic void setLoaded(int fieldIndex)
fieldIndex
- index of the field.public void setLoadRequired(int fieldIndex)
fieldIndex
- index of the field.public void setUpdateRequired(int fieldIndex)
fieldIndex
- index of the field.public void setCheckDirty(int fieldIndex)
fieldIndex
- index of the field.public boolean isCheckDirty(int fieldIndex)
fieldIndex
- the index of the field that should be checked for dirty state.public void setClean(int fieldIndex)
fieldIndex
- nextIndex of the field.public void resetFlags(int fieldIndex)
fieldIndex
- nextIndex of the field.public JDBCEntityBridge.FieldIterator getDirtyIterator(CmpEntityBeanContext ctx)
public boolean hasLockedFields()
public JDBCEntityBridge.FieldIterator getLockedIterator(CmpEntityBeanContext ctx)
public boolean lockValue(int fieldIndex)
public JDBCEntityBridge.FieldIterator getLoadIterator(CmpEntityBeanContext ctx)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.