/** * Convert the specified MutableProjectComponent to a ProjectComponent object. * * @param value MutableProjectComponent to be converted into a ProjectComponent. * @return new instance of ProjectComponent with same values as given in the parameter object */ protected ProjectComponent convertToProjectComponent(MutableProjectComponent value) { return getComponentConverter().convertToProjectComponent(value); }
/** * Convert a collection of MutableProjectComponent objects to a collection of ProjectComponent objects. * * @param mutables collection of MutableProjectComponent objects to convert * @return collection of new ProjectComponent objects that represent objects in the given MutableProjectComponent * collection */ private Collection<ProjectComponent> convertToProjectComponents(Collection<MutableProjectComponent> mutables) { return getComponentConverter().convertToProjectComponents(mutables); }