コード例 #1
0
 public void inherit(ChangeMoveSelectorConfig inheritedConfig) {
   super.inherit(inheritedConfig);
   if (entitySelectorConfig == null) {
     entitySelectorConfig = inheritedConfig.getEntitySelectorConfig();
   } else if (inheritedConfig.getEntitySelectorConfig() != null) {
     entitySelectorConfig.inherit(inheritedConfig.getEntitySelectorConfig());
   }
   if (valueSelectorConfig == null) {
     valueSelectorConfig = inheritedConfig.getValueSelectorConfig();
   } else if (inheritedConfig.getValueSelectorConfig() != null) {
     valueSelectorConfig.inherit(inheritedConfig.getValueSelectorConfig());
   }
 }
コード例 #2
0
 public void inherit(SubChainChangeMoveSelectorConfig inheritedConfig) {
   super.inherit(inheritedConfig);
   planningEntityClass =
       ConfigUtils.inheritOverwritableProperty(
           planningEntityClass, inheritedConfig.getPlanningEntityClass());
   if (subChainSelectorConfig == null) {
     subChainSelectorConfig = inheritedConfig.getSubChainSelectorConfig();
   } else if (inheritedConfig.getSubChainSelectorConfig() != null) {
     subChainSelectorConfig.inherit(inheritedConfig.getSubChainSelectorConfig());
   }
   if (valueSelectorConfig == null) {
     valueSelectorConfig = inheritedConfig.getValueSelectorConfig();
   } else if (inheritedConfig.getValueSelectorConfig() != null) {
     valueSelectorConfig.inherit(inheritedConfig.getValueSelectorConfig());
   }
   selectReversingMoveToo =
       ConfigUtils.inheritOverwritableProperty(
           selectReversingMoveToo, inheritedConfig.getSelectReversingMoveToo());
 }
コード例 #3
0
 public void inherit(MoveIteratorFactoryConfig inheritedConfig) {
   super.inherit(inheritedConfig);
   moveIteratorFactoryClass =
       ConfigUtils.inheritOverwritableProperty(
           moveIteratorFactoryClass, inheritedConfig.getMoveIteratorFactoryClass());
 }