T - is the type of the objectpublic interface XmlImportableBase<T>
| Modifier and Type | Method and Description |
|---|---|
void |
xmlCopyBusinessPropertiesToExisting(T existingRecord)
copy business (non update) properties to an existing record
|
boolean |
xmlDifferentBusinessProperties(T other)
see if the non update cols are different (e.g.
|
boolean |
xmlDifferentUpdateProperties(T other)
see if the update cols are different (e.g.
|
String |
xmlGetId()
set id key in db
|
T |
xmlSaveBusinessProperties(T existingRecord)
save the business properties (not update properties)
|
void |
xmlSaveUpdateProperties()
save the udpate properties (e.g.
|
void |
xmlSetId(String theId)
set id key in db
|
String |
xmlToString()
convert to string for log
|
String xmlToString()
boolean xmlDifferentUpdateProperties(T other)
other - the one to compare withboolean xmlDifferentBusinessProperties(T other)
other - the one to compare withT xmlSaveBusinessProperties(T existingRecord)
existingRecord - null if insert, the object if exists in DB
generally just copy the hibernate version number, and last updated to the
object and store itvoid xmlSaveUpdateProperties()
void xmlCopyBusinessPropertiesToExisting(T existingRecord)
existingRecord - String xmlGetId()
void xmlSetId(String theId)
theId - Copyright © 2016 Internet2. All rights reserved.