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()); } }
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()); }
public void inherit(MoveIteratorFactoryConfig inheritedConfig) { super.inherit(inheritedConfig); moveIteratorFactoryClass = ConfigUtils.inheritOverwritableProperty( moveIteratorFactoryClass, inheritedConfig.getMoveIteratorFactoryClass()); }