org.kuali.rice.krad.service.impl
Class DataObjectSerializerServiceImpl
java.lang.Object
org.kuali.rice.krad.service.impl.SerializerServiceBase
org.kuali.rice.krad.service.impl.DataObjectSerializerServiceImpl
- All Implemented Interfaces:
- BusinessObjectSerializerService, SerializerService
public class DataObjectSerializerServiceImpl
- extends SerializerServiceBase
- implements BusinessObjectSerializerService
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataObjectSerializerServiceImpl
public DataObjectSerializerServiceImpl()
getPropertySerizabilityEvaluator
public PropertySerializabilityEvaluator getPropertySerizabilityEvaluator(Object businessObject)
- Get the appropriate
PropertySerializabilityEvaluator
for the given dataObject.
- Specified by:
getPropertySerizabilityEvaluator
in class SerializerServiceBase
- Parameters:
businessObject
- the data object
- Returns:
- the evaluator
ignoreField
protected boolean ignoreField(Field field)
- Examines
Serialized
and Transient
annotations to determine if the field should not be serialized.
Method called by the ProxyAndStateAwareJavaReflectionProvider during serialization to determine if a field
should be omitted from the serialized form.
This is a short circuit check that will avoid more expensive calls in to the PropertySerializabilityEvaluator
if it returns true.
- Overrides:
ignoreField
in class SerializerServiceBase
- Parameters:
field
- the field
- Returns:
- true if the field should be omitted
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.