rename the FilePlanComponentMix file to FilePlanComponentMixIn

This commit is contained in:
Rodica Sutu
2017-01-30 13:34:36 +02:00
parent ed55ed7176
commit 3099c7235e
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ import org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponent
* @author Rodica Sutu * @author Rodica Sutu
* @since 2.6 * @since 2.6
*/ */
public abstract class FilePlanComponentMix public abstract class FilePlanComponentMixIn
{ {
/** /**
* Annotation used to indicate that a property should be serialized "unwrapped" * Annotation used to indicate that a property should be serialized "unwrapped"

View File

@@ -87,7 +87,7 @@ public class PojoUtility
//inject the "mix-in" annotations from FilePlanComponentMix to //inject the "mix-in" annotations from FilePlanComponentMix to
// FilePlanComponent POJO class when converting to json // FilePlanComponent POJO class when converting to json
mapper.addMixIn(FilePlanComponent.class, FilePlanComponentMix.class); mapper.addMixIn(FilePlanComponent.class, FilePlanComponentMixIn.class);
//include only values that differ from default settings to be included //include only values that differ from default settings to be included
mapper.setSerializationInclusion(Include.NON_DEFAULT); mapper.setSerializationInclusion(Include.NON_DEFAULT);