Interface LegacyDataAppAdapter
- Author:
- Kuali Rice Team (rice.collab@kuali.org).
-
Method Summary
Modifier and TypeMethodDescriptionbooleanallForeignKeyValuesPopulatedForReference(Object bo, String referenceName) Deprecated.This method examines whether all the foreign key fields for the specified reference contain values.booleanallPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass, Map<String, String> formProps) Deprecated.booleanareNotesSupported(Class<?> dataObjectClass) Deprecated.<T> TcreateNewObjectFromClass(Class<T> clazz) Deprecated.This method safely creates a object from a class Convenience method to create new object and throw a runtime exception if it cannot If the class is anExternalizableBusinessObject, this method will determine the interface for the EBO and query the appropriate module service to create a new instance.createQuickFinder(Class<?> containingClass, String attributeName) Deprecated.Returns the builder for a remotable quick finder for the given attribute name on the given containing class.voidDeprecated.Deletes a data object from the database.<T> voiddeleteMatching(Class<T> clazz, Map<String, ?> fieldValues) Deprecated.Deletes data objects from the database.Class<?> determineCollectionObjectType(Class<?> containingClass, String collectionPropertyName) Deprecated.Determines the type of the collection object on the class with the collection with the given property name.booleanequalsByPrimaryKeys(Object do1, Object do2) Deprecated.Compares two dataObject instances for equality based on primary keys<T> List<T> Deprecated.This method retrieves a collection of data objects populated with data, such that each record in the database populates a new object instance.This will only retrieve business objects by class type.<T> QueryPagingResults<T> findAll(Class<T> clazz, QueryPagingRequest pagingRequest) Deprecated.<T> TfindByPrimaryKey(Class<T> clazz, Map<String, ?> primaryKeys) Deprecated.Retrieves an object instance identified by its primary keys and values.<T> TfindBySinglePrimaryKey(Class<T> clazz, Object primaryKey) Deprecated.Retrieves an object instance identified by its primary key.<T> Collection<T> findCollectionBySearchHelper(Class<T> clazz, Map<String, String> formProps, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) Deprecated.<T> Collection<T> findCollectionBySearchHelper(Class<T> clazz, Map<String, String> formProps, List<String> wildcardAsLiteralPropertyNames, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) Deprecated.Returns a collection of objects based on the given search parameters.<T> List<T> findMatching(Class<T> clazz, Map<String, ?> fieldValues) Deprecated.This method retrieves a collection of data objects populated with data, such that each record in the database populates a new object instance.<T> QueryPagingResults<T> findMatching(Class<T> clazz, Map<String, ?> fieldValues, QueryPagingRequest pagingRequest) Deprecated.<T> List<T> findMatchingOrderBy(Class<T> clazz, Map<String, ?> fieldValues, String sortField, boolean sortAscending) Deprecated.This method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.<T> QueryPagingResults<T> findMatchingOrderBy(Class<T> clazz, Map<String, ?> fieldValues, String sortField, boolean sortAscending, QueryPagingRequest pagingRequest) Deprecated.<T> TfindObjectBySearch(Class<T> clazz, Map<String, String> formProps) Deprecated.Retrieves a Object based on the search criteria, which should uniquely identify a record.voidDeprecated.Flushes any outstanding work to the backend data store.getDataObjectIdentifierString(Object dataObject) Deprecated.Gets the identifier for a data objectgetDataObjectRelationship(Object dataObject, Class<?> dataObjectClass, String attributeName, String attributePrefix, boolean keysOnly, boolean supportsLookup, boolean supportsInquiry) Deprecated.Attempts to find a relationship for the given attribute within the given data objectgetExtension(Class<?> businessObjectClass) Deprecated.Creates an instance of the extension for the given business object class.Class<?> getExtensionAttributeClass(Class<?> boClass, String attributePropertyName) Deprecated.getForeignKeyFieldsPopulationState(Object bo, String referenceName) Deprecated.This method checks the foreign keys for a reference on a given BO, and tests that all fk fields are populated if any are populated.getForeignKeysForReference(Class<?> clazz, String attributeName) Deprecated.This method will return a Map of all the foreign key fields and the corresponding primary key fields for a given reference.Class<?> getInquiryObjectClassIfNotTitle(Object dataObject, String propertyName) Deprecated.Get Inquiry class if not the title attributegetInquiryParameters(Object dataObject, List<String> keys, String propertyName) Deprecated.Get Inquiry parameters for given keys for data object/property namegetNestedValue(Object bo, String fieldName) Deprecated.This method safely extracts either simple values OR nested values.getPrimaryKeyFieldValues(Object dataObject) Deprecated.This method retrieves the primary key field values for the given data objectgetPrimaryKeyFieldValuesDOMDS(Object dataObject) Deprecated.Determines the primary keys for the class of the given object, then for each key field retrieves the value from the object instance and populates the return map with the primary key name as the map key and the object value as the map valueClass<?> getPropertyType(Object object, String propertyName) Deprecated.Returns the type of the property with the given name on the supplied object.getReferenceIfExists(Object bo, String referenceName) Deprecated.This method attempts to retrieve the reference from a BO if it exists.getTitleAttribute(Class<?> dataObjectClass) Deprecated.This method gets the title attribute from the datadictionary for the given data object classbooleanhasCollection(Class<?> boClass, String collectionName) Deprecated.Returns whether BOs of the given class have a collection defined within them with the given collection name.booleanhasLocalInquiry(Class<?> dataObjectClass) Deprecated.Determines whether the given data object class has an associated inquiry in the local running applicationbooleanhasLocalLookup(Class<?> dataObjectClass) Deprecated.Determines whether the given data object class has an associated lookup in the local running applicationbooleanhasPrimaryKeyFieldValues(Object persistableObject) Deprecated.booleanhasReference(Class<?> boClass, String referenceName) Deprecated.Returns whether there is a reference defined in the persistence layer with the given name.booleanisCollectionUpdatable(Class<?> boClass, String collectionName) Deprecated.booleanisExtensionAttribute(Class<?> boClass, String attributePropertyName, Class<?> propertyType) Deprecated.booleanisLockable(Object object) Deprecated.Determines if the given ojbect is "lockable".booleanDeprecated.This method is a OJB Proxy-safe way to test for null on a proxied object that may or may not be materialized yet.booleanisPersistable(Class<?> dataObjectClass) Deprecated.Determines if a class is persistablebooleanDeprecated.Returns whether the object is an ORM proxybooleanisReferenceUpdatable(Class<?> boClass, String referenceName) Deprecated.<T> TlinkAndSave(T dataObject) Deprecated.Links up any contained objects, and then saves the passed in object via the persistence layer.listCollectionObjectTypes(Class<?> boClass) Deprecated.listPrimaryKeyFieldNames(Class<?> clazz) Deprecated.Returns a list of primary key field names for the given class.listReferenceObjectFields(Class<?> boClass) Deprecated.This method uses the persistence layer to determine the list of reference objects contained within this parent object.voidmaterializeAllSubObjects(Object object) Deprecated.Materializes any references on the given object.<T> Class<T> materializeClassForProxiedObject(T object) Deprecated.Attempts to find the Class for the given potentially proxied objectvoidrefreshAllNonUpdatingReferences(Object persistableObject) Deprecated.This method refreshes all reference objects to this main object that are 'non-updateable'.voidrefreshReferenceObject(Object businessObject, String referenceObjectName) Deprecated.Refreshes the specified reference object on the given business object.Deprecated.Returns the object underlying any ORM proxy layers<T> Tretrieve(T dataObject) Deprecated.Retrieves an object instance identified by the class of the given object and the object's primary key values.voidretrieveNonKeyFields(Object persistableObject) Deprecated.voidretrieveReferenceObject(Object persistableObject, String referenceObjectName) Deprecated.<T> Tsave(T dataObject) Deprecated.Saves the passed in object or list of objects via the persistence layer.<T> TsaveDocument(T document) Deprecated.<T> voidsetObjectProperty(Object bo, String propertyName, Class<T> propertyType, T propertyValue) Deprecated.Sets the property of an object with the given value.<T> voidsetObjectPropertyDeep(Object bo, String propertyName, Class<T> type, T propertyValue) Deprecated.Recursive; sets all occurences of the property in the object, its nested objects and its object lists with the given value.voidverifyVersionNumber(Object dataObject) Deprecated.Verifies that the version number of the given data object (if it has one) matches what is currently in the database.
-
Method Details
-
save
<T> T save(T dataObject) Deprecated.Saves the passed in object or list of objects via the persistence layer.- Parameters:
dataObject- the data object to save
-
flush
Deprecated.Flushes any outstanding work to the backend data store.Depending on the backend persistence implementation for the given type, this method may or may not do anything.
- Parameters:
type- the type of the data object for which to perform the flush. This is primarily used to identify the context in which to perform the flush.
-
linkAndSave
<T> T linkAndSave(T dataObject) Deprecated.Links up any contained objects, and then saves the passed in object via the persistence layer.- Parameters:
dataObject- the data object to link and save
-
saveDocument
<T> T saveDocument(T document) Deprecated. -
findBySinglePrimaryKey
Deprecated.Retrieves an object instance identified by its primary key. For composite keys, usefindByPrimaryKey(Class, Map)- Parameters:
clazz- data object type classprimaryKey- the primary key object- Returns:
- data object instance
-
findByPrimaryKey
Deprecated.Retrieves an object instance identified by its primary keys and values. This can be done by constructing a map where the key to the map entry is the primary key attribute and the value of the entry being the primary key value. For composite keys, pass in each primaryKey attribute and its value as a map entry.- Parameters:
clazz- data object type classprimaryKeys- map of String->Object key values- Returns:
- data object instance
-
delete
Deprecated.Deletes a data object from the database.- Parameters:
dataObject- the data object to delete
-
deleteMatching
Deprecated.Deletes data objects from the database.- Parameters:
clazz- the entity type to deletefieldValues- map String->Object of field values to match
-
retrieve
<T> T retrieve(T dataObject) Deprecated.Retrieves an object instance identified by the class of the given object and the object's primary key values.- Parameters:
dataObject- the data object- Returns:
- the retrieved data object or null if not found
-
findAll
Deprecated.This method retrieves a collection of data objects populated with data, such that each record in the database populates a new object instance.This will only retrieve business objects by class type.- Parameters:
clazz- the data object type class- Returns:
- collection of all data objects of given type
-
findAll
Deprecated. -
findMatching
Deprecated.This method retrieves a collection of data objects populated with data, such that each record in the database populates a new object instance. This will retrieve data objects by class type and also by criteria passed in as key-value pairs, specifically attribute name and its expected value.- Parameters:
clazz- the data object type classfieldValues- map String->Object of field values- Returns:
- collection of matching data objects
-
findMatching
<T> QueryPagingResults<T> findMatching(Class<T> clazz, Map<String, ?> fieldValues, QueryPagingRequest pagingRequest) Deprecated. -
findMatchingOrderBy
<T> List<T> findMatchingOrderBy(Class<T> clazz, Map<String, ?> fieldValues, String sortField, boolean sortAscending) Deprecated.This method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will retrieve business objects by class type and also by criteria passed in as key-value pairs, specifically attribute name and its expected value. Performs an order by on sort field.- Returns:
- collection of business objects
-
findMatchingOrderBy
<T> QueryPagingResults<T> findMatchingOrderBy(Class<T> clazz, Map<String, ?> fieldValues, String sortField, boolean sortAscending, QueryPagingRequest pagingRequest) Deprecated. -
getPrimaryKeyFieldValues
Deprecated.This method retrieves the primary key field values for the given data object- Parameters:
dataObject- data object whose primary key field name,value pairs you want- Returns:
- a Map containing the names and values of primary key fields for the data object
- Throws:
IllegalArgumentException- if the given Object is nullClassNotPersistableException- if the given object is of a type not mapped in ORM
-
retrieveNonKeyFields
Deprecated.- Parameters:
persistableObject- object whose objects need to be filled in based on primary keys- Throws:
IllegalArgumentException- if the given Object is nullClassNotPersistableException- if the given object is of a type not described in the OJB repository
-
retrieveReferenceObject
Deprecated.- Parameters:
persistableObject- object whose specified reference object needs to be filled in based on primary keysreferenceObjectName- the name of the reference object that will be filled in based on primary key values- Throws:
IllegalArgumentException- if the given Object is nullClassNotPersistableException- if the given object is of a type not described in the OJB repository
-
refreshAllNonUpdatingReferences
Deprecated.This method refreshes all reference objects to this main object that are 'non-updateable'. In general, this means that if a reference object is configured to not be updated when the parent document is saved, then they are non-updated. This will not refresh updateable objects, which can cause problems when you're creating new objects. See PersistenceServiceImpl.isUpdateableReference() for the full logic.- Parameters:
persistableObject- - the businessObject to be refreshed
-
resolveProxy
Deprecated.Returns the object underlying any ORM proxy layers- Parameters:
o- the object for which to determine the underlying non-ORM-proxy target- Returns:
- the underlying non-ORM-proxy object
-
isProxied
Deprecated.Returns whether the object is an ORM proxy- Parameters:
object- the candidate object- Returns:
- true if the object is an ORM proxy
-
findCollectionBySearchHelper
@Deprecated <T> Collection<T> findCollectionBySearchHelper(Class<T> clazz, Map<String, String> formProps, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) Deprecated.Returns a collection of objects based on the given search parameters. Search results are bounded by the KNS search results limit determined for the class.- Parameters:
clazz- the data object typeformProps- field values for queryunbounded- whether the search results should be boundedallPrimaryKeyValuesPresentAndNotWildcard- indicates whether or not the search only contains non-wildcarded primary key valuessearchResultsLimit- if the search is bounded, the search results limit, otherwise ignored. null is equivalent to KNS default for the clazz- Returns:
- collection of matching data objects
-
findCollectionBySearchHelper
<T> Collection<T> findCollectionBySearchHelper(Class<T> clazz, Map<String, String> formProps, List<String> wildcardAsLiteralPropertyNames, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) Deprecated.Returns a collection of objects based on the given search parameters.Search results are bounded by the KNS search results limit determined for the class. This implementation further isolates the UIFramework from the LookupService and should be used in place of the deprecated method.
- Parameters:
clazz- the data object typeformProps- field values for querywildcardAsLiteralPropertyNames- list of fields for query that do not allow wildcardsunbounded- whether the search results should be boundedallPrimaryKeyValuesPresentAndNotWildcard- indicates whether or not the search only contains non-wildcarded primary key valuessearchResultsLimit- if the search is bounded, the search results limit, otherwise ignored. null is equivalent to KNS default for the clazz- Returns:
- collection of matching data objects
-
findObjectBySearch
Deprecated.Retrieves a Object based on the search criteria, which should uniquely identify a record.- Parameters:
clazz- the data object typeformProps- field values for query- Returns:
- first object in returned search results, or null if none found
-
allPrimaryKeyValuesPresentAndNotWildcard
Deprecated. -
listPrimaryKeyFieldNames
Deprecated.Returns a list of primary key field names for the given class. -
determineCollectionObjectType
Deprecated.Determines the type of the collection object on the class with the collection with the given property name.- Parameters:
containingClass- the class of the object containing the collectioncollectionPropertyName- the name of the property identifying the collection- Returns:
- the Class of elements in the identified collection
- Throws:
IllegalArgumentException- if the given class is not available in metadata or if the given collection property name is incorrect
-
getForeignKeyFieldsPopulationState
Deprecated.This method checks the foreign keys for a reference on a given BO, and tests that all fk fields are populated if any are populated. In other words, for a given reference, it finds all the attributes of the BO that make up the foreign keys, and checks to see if they all have values. It also keeps a list of all the fieldNames that do not have values.- Parameters:
bo- - A populated BusinessObject descendent. Must contain an attributed named referenceName.referenceName- - The name of the field that is a reference we are analyzing.- Returns:
- A populated ForeignKeyFieldsPopulation object which represents the state of population for the foreign key fields.
-
getForeignKeysForReference
Deprecated.This method will return a Map of all the foreign key fields and the corresponding primary key fields for a given reference. The Map structure is: Key(String fkFieldName) => Value(String pkFieldName)- Parameters:
clazz- - Class that contains the named referenceattributeName- - Name of the member that is the reference you want foreign keys for- Returns:
- returns a Map populated as described above, with one entry per foreign key field
-
hasPrimaryKeyFieldValues
Deprecated.- Returns:
- true if all primary key fields of the string have a non-null (and non-empty, for Strings) value
- Throws:
IllegalArgumentException- if the given Object is nullClassNotPersistableException- if the given object is of a type not described in the OJB repository
-
hasReference
Deprecated.Returns whether there is a reference defined in the persistence layer with the given name. Depending on the type of underlying persistence mechanism, this method may or may not return true when the referenceName really refers to a collection type. To determine whether a reference is a collection, use the hasCollection method instead. In OJB, this method will return false for collection references.- Returns:
- true if the reference exists
-
hasCollection
Deprecated.Returns whether BOs of the given class have a collection defined within them with the given collection name.- Returns:
- true if a collection is defined
-
isExtensionAttribute
Deprecated. -
getExtensionAttributeClass
Deprecated. -
getPrimaryKeyFieldValuesDOMDS
Deprecated.Determines the primary keys for the class of the given object, then for each key field retrieves the value from the object instance and populates the return map with the primary key name as the map key and the object value as the map valueHas DOMDS on the end because this is the version that delegates to DataObjectMetaDataService
- Parameters:
dataObject- - object whose primary key field name,value pairs you want- Returns:
- a Map containing the names and values of fields for the given class which are designated as key fields in the OJB repository file or DataDictionary
- Throws:
IllegalArgumentException- if the given Object is null
-
equalsByPrimaryKeys
Deprecated.Compares two dataObject instances for equality based on primary keys- Returns:
- boolean indicating whether the two objects are equal.
-
materializeAllSubObjects
Deprecated.Materializes any references on the given object.- Parameters:
object- object to materialize
-
getPropertyType
Deprecated.Returns the type of the property with the given name on the supplied object. The property path may be nested.- Parameters:
object- the object against which to searchpropertyName- the (optionally nested) property name for which to locate the type- Returns:
- the type of the property
- Throws:
RuntimeException- if a problem occurred (i.e. bad property name), this exception will be different depending on whether the underlying implementation is calling legacy code or not
-
getExtension
Object getExtension(Class<?> businessObjectClass) throws InstantiationException, IllegalAccessException Deprecated.Creates an instance of the extension for the given business object class. -
refreshReferenceObject
Deprecated.Refreshes the specified reference object on the given business object. -
isLockable
Deprecated.Determines if the given ojbect is "lockable".- Parameters:
object- object for which to determine lockable- Returns:
- true if lockable, false otherwise
-
verifyVersionNumber
Deprecated.Verifies that the version number of the given data object (if it has one) matches what is currently in the database. If not, then the GlobalVariables message map will be updated with an error message and a ValidationException will be thrown.If this particular data object does not have versioning, this method will do nothing.
- Parameters:
dataObject- the data object to check the version number for- Throws:
ValidationException- if the version number doesn't match
-
createQuickFinder
Deprecated.Returns the builder for a remotable quick finder for the given attribute name on the given containing class.- Parameters:
containingClass- the class on which to locate the attributeattributeName- the name of the attribute for which to build the quickfinder on the specified containing class- Returns:
- the remotable quickfinder, or null if no such finder could be created
-
isReferenceUpdatable
Deprecated. -
listReferenceObjectFields
Deprecated.This method uses the persistence layer to determine the list of reference objects contained within this parent object. For example, an Account object contains sub-objects such as Chart, as well as the key that connects the two, String chartOfAccountsCode. The return structure is: Mapinvalid input: '<'referenceName, referenceClass>. As an example, an Account object passed into this would return: 0:['chartOfAccounts', org.kuali.module.chart.bo.Chart] 1:['organization', org.kuali.module.chart.bo.Org] etc.- Parameters:
boClass- Class that would like to be analyzed for reference names- Returns:
- Map containing the reference name for the key as a string, and the class of the reference as the value. If the object contains no references, then this Map will be empty.
-
isCollectionUpdatable
Deprecated. -
listCollectionObjectTypes
Deprecated. -
getReferenceIfExists
Deprecated.This method attempts to retrieve the reference from a BO if it exists.- Parameters:
bo- - populated BusinessObject instance that includes the referenceName propertyreferenceName- - name of the member/property to load- Returns:
- A populated object from the DB, if it exists
-
allForeignKeyValuesPopulatedForReference
Deprecated.This method examines whether all the foreign key fields for the specified reference contain values.- Returns:
- true if they all are accessible and have values, false otherwise
-
getTitleAttribute
Deprecated.This method gets the title attribute from the datadictionary for the given data object class- Returns:
- title if available, otherwise null
-
areNotesSupported
Deprecated.- Returns:
- true is supported, otherwise false
-
getDataObjectIdentifierString
Deprecated.Gets the identifier for a data object- Parameters:
dataObject- data object- Returns:
- data object identifier
-
getInquiryObjectClassIfNotTitle
Deprecated.Get Inquiry class if not the title attribute- Returns:
- class that represents the inquiry object class, null otherwise
-
getInquiryParameters
Deprecated.Get Inquiry parameters for given keys for data object/property name- Returns:
- map of key value pairs, empty map otherwise
-
hasLocalLookup
Deprecated.Determines whether the given data object class has an associated lookup in the local running application- Parameters:
dataObjectClass- data object class to find lookup for- Returns:
- boolean true if a lookup exists for the data object class, false if not
-
hasLocalInquiry
Deprecated.Determines whether the given data object class has an associated inquiry in the local running application- Parameters:
dataObjectClass- data object class to find inquiry for- Returns:
- boolean true if a inquiry exists for the data object class, false if not
-
getDataObjectRelationship
DataObjectRelationship getDataObjectRelationship(Object dataObject, Class<?> dataObjectClass, String attributeName, String attributePrefix, boolean keysOnly, boolean supportsLookup, boolean supportsInquiry) Deprecated.Attempts to find a relationship for the given attribute within the given data objectFirst the data dictionary is queried to find any relationship definitions setup that include the attribute, if found the
BusinessObjectRetationshipis build from that. If not and the data object class is persistent, relationships are retrieved from the persistence service. Nested attributes are handled in addition to external business objects. If multiple relationships are found, the one that contains the least amount of joining keys is returned- Parameters:
dataObject- - data object instance that contains the attributedataObjectClass- - class for the data object that contains the attributeattributeName- - property name for the attributeattributePrefix- - property prefix for the attributekeysOnly- - indicates whether only primary key fields should be returned in the relationshipsupportsLookup- - indicates whether the relationship should support lookupsupportsInquiry- - indicates whether the relationship should support inquiry- Returns:
- BusinessObjectRelationship for the attribute, or null if not found
-
isPersistable
Deprecated.Determines if a class is persistable- Parameters:
dataObjectClass- - data object instance that contains the attribute- Returns:
- true if the given Class is persistable (is known to OJB or JPA)
-
setObjectPropertyDeep
<T> void setObjectPropertyDeep(Object bo, String propertyName, Class<T> type, T propertyValue) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException Deprecated.Recursive; sets all occurences of the property in the object, its nested objects and its object lists with the given value. -
materializeClassForProxiedObject
Deprecated.Attempts to find the Class for the given potentially proxied object- Parameters:
object- the potentially proxied object to find the Class of- Returns:
- the best Class which could be found for the given object
-
getNestedValue
Deprecated.This method safely extracts either simple values OR nested values. For example, if the bo is SubAccount, and the fieldName is a21SubAccount.subAccountTypeCode, this thing makes sure it gets the value off the very end attribute, no matter how deeply nested it is. The code would be slightly simpler if this was done recursively, but this is safer, and consumes a constant amount of memory, no matter how deeply nested it goes.- Returns:
- The field value if it exists. If it doesnt, and the name is invalid, and
-
createNewObjectFromClass
Deprecated.This method safely creates a object from a class Convenience method to create new object and throw a runtime exception if it cannot If the class is anExternalizableBusinessObject, this method will determine the interface for the EBO and query the appropriate module service to create a new instance.- Returns:
- a newInstance() of clazz
-
isNull
Deprecated.This method is a OJB Proxy-safe way to test for null on a proxied object that may or may not be materialized yet. It is safe to use on a proxy (materialized or non-materialized) or on a non-proxy (ie, regular object). Note that this will force a materialization of the proxy if the object is a proxy and unmaterialized.- Parameters:
object- - any object, proxied or not, materialized or not- Returns:
- true if the object (or underlying materialized object) is null, false otherwise
-
setObjectProperty
<T> void setObjectProperty(Object bo, String propertyName, Class<T> propertyType, T propertyValue) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException Deprecated.Sets the property of an object with the given value. Converts using the formatter of the given type if one is found.
-