Class PropertyMerger<T>


  • public class PropertyMerger<T>
    extends java.lang.Object
    • Method Detail

      • mergeBeans

        public static <T> PropertyMerger<T> mergeBeans​(T sourceBean,
                                                       T targetBean)
      • merge

        public PropertyMerger<T> merge​(java.lang.String propertyName)
      • mergeObjects

        public PropertyMerger<T> mergeObjects​(java.lang.String... propertyNames)
      • mergeBoolean

        public PropertyMerger<T> mergeBoolean​(java.lang.String propertyName)
      • mergeBooleans

        public PropertyMerger<T> mergeBooleans​(java.lang.String... propertyNames)
      • mergeEntity

        public <E> PropertyMerger<T> mergeEntity​(java.lang.String propertyName,
                                                 java.util.Map<? extends ID,​E> entityLookup)
      • mergeResources

        public PropertyMerger<T> mergeResources​(boolean firstPass,
                                                boolean newTurn,
                                                java.lang.String... resourceNames)
      • mergeResource

        public PropertyMerger<T> mergeResource​(boolean firstPass,
                                               boolean newTurn,
                                               java.lang.String resourceName)
      • copyInt

        public PropertyMerger<T> copyInt​(java.lang.String sourcePropertyName,
                                         java.lang.String targetPropertyName)
      • mergeNaturalInt

        public PropertyMerger<T> mergeNaturalInt​(java.lang.String propertyName)
      • mergeInts

        public PropertyMerger<T> mergeInts​(java.lang.String... propertyNames)
      • mergeInt

        public PropertyMerger<T> mergeInt​(java.lang.String propertyName)
      • mergeInt

        public PropertyMerger<T> mergeInt​(java.lang.String sourcePropertyName,
                                          java.lang.String targetPropertyName,
                                          int threshold)
      • replaceList

        public PropertyMerger<T> replaceList​(java.lang.String propertyName)
      • addList

        public PropertyMerger<T> addList​(java.lang.String propertyName)