|
Transfer version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
transfer.com.sql.Nullable
public class Nullable
Handles DefaultNull values
| Constructor Summary | |
|---|---|
init(ObjectManager objectManager, Utility utility)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
checkNullBinary(TransferObject transfer, string propertyName, binary binary)
whether the binary is a null value or not |
boolean |
checkNullBoolean(TransferObject transfer, string propertyName, boolean boolean)
whether the boolean is a null value or not |
boolean |
checkNullDate(TransferObject transfer, string propertyName, transfer.com.sql.date date)
whether the Date is a null value or not |
boolean |
checkNullGUID(TransferObject transfer, string propertyName, transfer.com.sql.guid guid)
whether the GUID is a null value or not |
boolean |
checkNullNumeric(TransferObject transfer, string propertyName, numeric number)
whether the numeric is a null value or not |
boolean |
checkNullString(TransferObject transfer, string propertyName, string string)
whether the string is a null value or not |
boolean |
checkNullUUID(TransferObject transfer, string propertyName, uuid uuid)
whether the UUID is a null value or not |
boolean |
checkNullValue(TransferObject transfer, Property property, any value)
Generically checks a null value for a given property |
private binary |
getDefaultNullBinary()
|
private string |
getDefaultNullBoolean()
|
private transfer.com.sql.date |
getDefaultNullDate()
|
private transfer.com.sql.guid |
getDefaultNullGUID()
|
private numeric |
getDefaultNullNumeric()
|
private string |
getDefaultNullString()
|
private uuid |
getDefaultNullUUID()
|
binary |
getNullBinary(string className, string propertyName)
Returns the null binary value for this object and property |
boolean |
getNullBoolean(string className, string propertyName)
Returns the null bool value for this object and property |
transfer.com.sql.date |
getNullDate(string className, string propertyName)
Returns the null date value for this object and property |
transfer.com.sql.guid |
getNullGUID(string className, string propertyName)
Returns the null GUID value for this object and property |
numeric |
getNullNumeric(string className, string propertyName)
Returns the null numeric value for this object and property |
private any |
getNullPropertyValue(string className, string propertyName)
gets the null value of a property |
string |
getNullString(string className, string propertyName)
Returns the null string value for this object and property |
uuid |
getNullUUID(string className, string propertyName)
Returns the null UUID value for this object and property |
any |
getNullValue(string className, string propertyName)
returns the null value, depending on what type the property is |
private ObjectManager |
getObjectManager()
|
private Utility |
getUtility()
|
private boolean |
hasNullValue(string className, string propertyName)
Checks to see if a property of an object has a null value |
private void |
setDefaultNullBinary(binary defaultNullBinary)
|
private void |
setDefaultNullBoolean(string DefaultNullBoolean)
|
private void |
setDefaultNullDate(transfer.com.sql.date DefaultNullDate)
|
private void |
setDefaultNullGUID(transfer.com.sql.guid DefaultNullGUID)
|
private void |
setDefaultNullNumeric(numeric DefaultNullNumeric)
|
private void |
setDefaultNullString(string DefaultNullString)
|
private void |
setDefaultNullUUID(uuid DefaultNullUUID)
|
void |
setMemento(struct memento)
Sets the state of the object |
private void |
setObjectManager(ObjectManager ObjectManager)
|
private void |
setUtility(Utility Utility)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(ObjectManager objectManager, Utility utility)
objectManager - The object manager to queryutility - The utility class| Method Detail |
|---|
public boolean checkNullBinary(TransferObject transfer, string propertyName, binary binary)
transfer - The transfer object to get the null value forpropertyName - The name of the property to check againstbinary - the binary to testpublic boolean checkNullBoolean(TransferObject transfer, string propertyName, boolean boolean)
transfer - The transfer object to get the null value forpropertyName - The name of the property to check againstboolean - the boolean to testpublic boolean checkNullDate(TransferObject transfer, string propertyName, transfer.com.sql.date date)
transfer - The transfer object to get the null value forpropertyName - The name of the property to check againstdate - the date to testpublic boolean checkNullGUID(TransferObject transfer, string propertyName, transfer.com.sql.guid guid)
transfer - The transfer object to get the null value forpropertyName - The name of the property to check againstguid - the guid to testpublic boolean checkNullNumeric(TransferObject transfer, string propertyName, numeric number)
transfer - The transfer object to get the null value forpropertyName - The name of the property to check againstnumber - the number to testpublic boolean checkNullString(TransferObject transfer, string propertyName, string string)
transfer - The transfer object to get the null value forpropertyName - The name of the property to check againststring - the string to testpublic boolean checkNullUUID(TransferObject transfer, string propertyName, uuid uuid)
transfer - The transfer object to get the null value forpropertyName - The name of the property to check againstuuid - the uuid to testpublic boolean checkNullValue(TransferObject transfer, Property property, any value)
transfer - The transfer object to get the null value forproperty - The the property to check againstvalue - The value to testprivate binary getDefaultNullBinary()
private string getDefaultNullBoolean()
private transfer.com.sql.date getDefaultNullDate()
private transfer.com.sql.guid getDefaultNullGUID()
private numeric getDefaultNullNumeric()
private string getDefaultNullString()
private uuid getDefaultNullUUID()
public binary getNullBinary(string className, string propertyName)
className - The className of the object to get the null value forpropertyName - The name of the property to check againstpublic boolean getNullBoolean(string className, string propertyName)
className - The className of the object to get the null value forpropertyName - The name of the property to check againstpublic transfer.com.sql.date getNullDate(string className, string propertyName)
className - The className of the object to get the null value forpropertyName - The name of the property to check againstpublic transfer.com.sql.guid getNullGUID(string className, string propertyName)
className - The className of the object to get the null value forpropertyName - The name of the property to check againstpublic numeric getNullNumeric(string className, string propertyName)
className - The className of the object to get the null value forpropertyName - The name of the property to check againstprivate any getNullPropertyValue(string className, string propertyName)
className - The class to get the null value forpropertyName - The name of the property to check againstpublic string getNullString(string className, string propertyName)
className - The className of the object to get the null value forpropertyName - The name of the property to check againstpublic uuid getNullUUID(string className, string propertyName)
className - The className of the object to get the null value forpropertyName - The name of the property to check againstpublic any getNullValue(string className, string propertyName)
className - The className of the object to get the null value forpropertyName - The name of the property to get the null value forprivate ObjectManager getObjectManager()
private Utility getUtility()
private boolean hasNullValue(string className, string propertyName)
className - The className of the object to get the null value forpropertyName - The name of the property to check againstprivate void setDefaultNullBinary(binary defaultNullBinary)
defaultNullBinaryprivate void setDefaultNullBoolean(string DefaultNullBoolean)
DefaultNullBooleanprivate void setDefaultNullDate(transfer.com.sql.date DefaultNullDate)
DefaultNullDateprivate void setDefaultNullGUID(transfer.com.sql.guid DefaultNullGUID)
DefaultNullGUIDprivate void setDefaultNullNumeric(numeric DefaultNullNumeric)
DefaultNullNumericprivate void setDefaultNullString(string DefaultNullString)
DefaultNullStringprivate void setDefaultNullUUID(uuid DefaultNullUUID)
DefaultNullUUIDpublic void setMemento(struct memento)
memento - the state to be setprivate void setObjectManager(ObjectManager ObjectManager)
ObjectManagerprivate void setUtility(Utility Utility)
Utility
|
Transfer version 1.1 | ||||
| FRAMES | |||||