Package com.carmanconsulting.cassidy.pojo.assembly.step

Examples of com.carmanconsulting.cassidy.pojo.assembly.step.SetValueStep


            final Object fieldValue = CassidyUtils.getFieldValue(object, fieldName);
            if (fieldValue == null) {
                steps.add(new SetNullStep(fieldName));
            } else {
                steps.addAll(disassemblerService.disassemble(fieldValue));
                steps.add(new SetValueStep(fieldName));
            }
        }
    }
View Full Code Here


            final Object fieldValue = field.getValue(object);
            if (fieldValue == null) {
                steps.add(new SetNullStep(fieldName));
            } else {
                steps.addAll(disassemblerService.disassemble(fieldValue));
                steps.add(new SetValueStep(fieldName));
            }
        }
    }
View Full Code Here

                final Object fieldValue = CassidyUtils.getFieldValue(object, fieldName);
                if (fieldValue == null) {
                    steps.add(new SetNullStep(fieldName));
                } else {
                    steps.addAll(disassemblerService.disassemble(fieldValue));
                    steps.add(new SetValueStep(fieldName));
                }
            }
        }
    }
View Full Code Here

        for (PersistableField field : fields) {
            final String fieldName = field.getFieldName();
            final Object fieldValue = field.getValue(object);
            if (!CassidyUtils.isDefaultValue(field.getType(), fieldValue)) {
                steps.addAll(service.disassemble(fieldValue));
                steps.add(new SetValueStep(fieldName));
            }
        }
    }
View Full Code Here

TOP

Related Classes of com.carmanconsulting.cassidy.pojo.assembly.step.SetValueStep

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.