public abstract class EntityValueBase extends java.lang.Object implements EntityValue
Modifiers | Name | Description |
---|---|---|
static class |
EntityValueBase.DeletedEntityValue |
Modifiers | Name | Description |
---|---|---|
protected LiteStringMap<java.lang.Object> |
dbValueMap |
|
protected static org.slf4j.Logger |
logger |
|
protected LiteStringMap<java.lang.Object> |
oldDbValueMap |
Constructor and description |
---|
EntityValueBase
() Default constructor for deserialization ONLY. |
EntityValueBase
(EntityDefinition ed, EntityFacadeImpl efip) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
basicCreate(java.sql.Connection con) |
|
public void |
basicUpdate(java.sql.Connection con) |
|
public long |
checkAgainstDatabase(java.util.List<java.lang.String> messages) |
|
public long |
checkAgainstDatabaseInfo(java.util.List<java.util.Map<java.lang.String, java.lang.Object>> diffInfoList, java.util.List<java.lang.String> messages, java.lang.String location) |
|
public boolean |
checkFks(boolean insertDummy) |
|
public void |
clear() |
|
public java.lang.Object |
clone() |
|
public abstract EntityValue |
cloneDbValue(boolean getOld) |
|
public abstract EntityValue |
cloneValue() |
|
public int |
compareTo(EntityValue that) |
|
public boolean |
containsKey(java.lang.Object o) |
|
public boolean |
containsPrimaryKey() |
|
public boolean |
containsValue(java.lang.Object o) |
|
public EntityValue |
create() |
|
public abstract void |
createExtended(FieldInfo[] fieldInfoArray, java.sql.Connection con) This method should create a corresponding record in the datasource. |
|
public EntityValue |
createOrUpdate() |
|
public EntityValue |
delete() |
|
public abstract void |
deleteExtended(java.sql.Connection con) |
|
public void |
deleteRelated(java.lang.String relationshipName) |
|
public void |
deleteWithCascade(java.util.Set<java.lang.String> clearRefEntities, java.util.Set<java.lang.String> validateAllowDeleteEntities) |
|
public boolean |
deleteWithRelated(java.util.Set<java.lang.String> relationshipsToDelete) |
|
public java.util.Set<Entry<java.lang.String, java.lang.Object>> |
entrySet() |
|
public boolean |
equals(java.lang.Object obj) |
|
public EntityList |
findRelated(java.lang.String relationshipName, java.util.Map<java.lang.String, java.lang.Object> byAndFields, java.util.List<java.lang.String> orderBy, java.lang.Boolean useCache, java.lang.Boolean forUpdate) |
|
public long |
findRelatedCount(java.lang.String relationshipName, java.lang.Boolean useCache) |
|
public EntityList |
findRelatedFk(java.util.Set<java.lang.String> skipEntities) |
|
public EntityValue |
findRelatedOne(java.lang.String relationshipName, java.lang.Boolean useCache, java.lang.Boolean forUpdate) |
|
public java.lang.Object |
get(java.lang.String name) |
|
public java.lang.Object |
get(java.lang.Object o) |
|
public java.math.BigDecimal |
getBigDecimal(java.lang.String name) |
|
public java.lang.Boolean |
getBoolean(java.lang.String name) |
|
public byte[] |
getBytes(java.lang.String name) |
|
public java.sql.Date |
getDate(java.lang.String name) |
|
protected LiteStringMap<java.lang.Object> |
getDbValueMap() |
|
public java.lang.Double |
getDouble(java.lang.String name) |
|
public EntityDefinition |
getEntityDefinition() |
|
protected EntityFacadeImpl |
getEntityFacadeImpl() |
|
public java.lang.String |
getEntityName() |
|
public java.lang.String |
getEntityNamePretty() |
|
public java.lang.String |
getEtlType() |
|
public java.util.Map<java.lang.String, java.lang.Object> |
getEtlValues() |
|
public boolean |
getIsFromDb() |
|
public java.lang.Object |
getKnownField(FieldInfo fieldInfo) |
|
public java.lang.Long |
getLong(java.lang.String name) |
|
public java.util.Map<java.lang.String, java.lang.Object> |
getMap() |
|
public java.util.Map<java.lang.String, java.lang.Object> |
getMasterValueMap(java.lang.String name) |
|
public java.lang.Object |
getNoCheckSimple(java.lang.String name) |
|
protected java.lang.Object |
getOldDbValue(java.lang.String name) |
|
public java.lang.Object |
getOriginalDbValue(java.lang.String name) |
|
public java.util.Map<java.lang.String, java.lang.Object> |
getPlainValueMap(int dependentLevels) |
|
public java.util.Map<java.lang.String, java.lang.Object> |
getPrimaryKeys() |
|
public java.lang.String |
getPrimaryKeysString() |
|
public javax.sql.rowset.serial.SerialBlob |
getSerialBlob(java.lang.String name) |
|
public java.lang.String |
getString(java.lang.String name) |
|
public java.sql.Time |
getTime(java.lang.String name) |
|
public java.sql.Timestamp |
getTimestamp(java.lang.String name) |
|
public LiteStringMap<java.lang.Object> |
getValueMap() |
|
public int |
hashCode() |
|
public boolean |
isEmpty() |
|
public boolean |
isField(java.lang.String name) |
|
public boolean |
isFieldModified(java.lang.String name) |
|
public boolean |
isFieldSet(java.lang.String name) |
|
public boolean |
isModified() |
|
public boolean |
isMutable() |
|
public java.util.Set<java.lang.String> |
keySet() |
|
public org.w3c.dom.Element |
makeXmlElement(org.w3c.dom.Document document, java.lang.String prefix) |
|
public boolean |
mapMatches(java.util.Map<java.lang.String, java.lang.Object> theMap) |
|
public boolean |
primaryKeyMatches(EntityValueBase evb) |
|
public java.lang.Object |
put(java.lang.String name, java.lang.Object value) |
|
public void |
putAll(java.util.Map<? extends java.lang.String, ?> map) |
|
protected java.lang.Object |
putKnownField(FieldInfo fieldInfo, java.lang.Object value) |
|
public java.lang.Object |
putNoCheck(java.lang.String name, java.lang.Object value) |
|
public void |
readExternal(java.io.ObjectInput objectInput) |
|
public boolean |
refresh() |
|
public abstract boolean |
refreshExtended() |
|
public java.lang.Object |
remove(java.lang.Object o) |
|
public EntityValue |
set(java.lang.String name, java.lang.Object value) |
|
public EntityValue |
setAll(java.util.Map<java.lang.String, java.lang.Object> fields) |
|
public EntityValue |
setBytes(java.lang.String name, byte[] theBytes) |
|
protected void |
setDbValueMap(java.util.Map<java.lang.String, java.lang.Object> map) |
|
public EntityValue |
setFields(java.util.Map<java.lang.String, java.lang.Object> fields, boolean setIfEmpty, java.lang.String namePrefix, java.lang.Boolean pks) |
|
public void |
setFromCache() |
|
public EntityValue |
setSequencedIdPrimary() |
|
public EntityValue |
setSequencedIdSecondary() |
|
public EntityValue |
setString(java.lang.String name, java.lang.String value) |
|
public void |
setSyncedWithDb() |
|
public int |
size() |
|
public EntityValue |
store() |
|
public java.lang.String |
toString() |
|
public EntityValue |
touchField(java.lang.String name) |
|
public EntityValue |
update() |
|
public abstract void |
updateExtended(FieldInfo[] pkFieldArray, FieldInfo[] nonPkFieldArray, java.sql.Connection con) This method should update the corresponding record in the datasource. |
|
public java.util.Collection<java.lang.Object> |
values() |
|
public void |
writeExternal(java.io.ObjectOutput out) |
|
public int |
writeXmlText(java.io.Writer pw, java.lang.String prefix, int dependentLevels) |
|
public int |
writeXmlTextMaster(java.io.Writer pw, java.lang.String prefix, java.lang.String masterName) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Default constructor for deserialization ONLY.
This method should create a corresponding record in the datasource. NOTE: fieldInfoArray may have null values after valid ones, the length is not the actual number of fields.
This method should update the corresponding record in the datasource. NOTE: fieldInfoArray may have null values after valid ones, the length is not the actual number of fields.