@Override public CompositeActionType createInstance(Type type) { return new CompositeActionType(null, null, null, null, null); } }
public static ActionType map(CompositeActionTypeDTO actionTypeDto) { if (actionTypeDto.children == null || actionTypeDto.children.isEmpty()) { return new ActionType(actionTypeDto.uid, ConfigDescriptionDTOMapper.map(actionTypeDto.configDescriptions), actionTypeDto.label, actionTypeDto.description, actionTypeDto.tags, actionTypeDto.visibility, actionTypeDto.inputs, actionTypeDto.outputs); } else { return new CompositeActionType(actionTypeDto.uid, ConfigDescriptionDTOMapper.map(actionTypeDto.configDescriptions), actionTypeDto.label, actionTypeDto.description, actionTypeDto.tags, actionTypeDto.visibility, actionTypeDto.inputs, actionTypeDto.outputs, ActionDTOMapper.mapDto(actionTypeDto.children)); } }
((CompositeActionType) at).getChildren(), bundle, moduleTypeUID, ModuleTypeI18nUtil.MODULE_TYPE, locale); lat = new CompositeActionType(moduleTypeUID, lconfigDescriptions, llabel, ldescription, at.getTags(), at.getVisibility(), inputs, outputs, modules); } else {
result = new CompositeActionType(mType.getUID(), mType.getConfigurationDescriptions(), mType.getLabel(), mType.getDescription(), mType.getTags(), mType.getVisibility(), m.getInputs(), m.getOutputs(), new ArrayList<>(m.getChildren()));