|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.bc.project.component.ComponentConverter
public class ComponentConverter
Originally this was part of the OfBizProjectComponentStore. I've extracted it to a separate class so that the logic can be reused elsewhere.
| Constructor Summary | |
|---|---|
ComponentConverter()
|
|
| Method Summary | |
|---|---|
MutableProjectComponent |
convertToComponent(org.ofbiz.core.entity.GenericValue componentGV)
Convert the specified GenericValue representing a MutableProjectComponent object to a MutableProjectComponent object. |
Collection<MutableProjectComponent> |
convertToComponents(Collection<org.ofbiz.core.entity.GenericValue> componentGVCollection)
Convert the specified collection of GenericValues representing MutableProjectComponent object to a collection of MutableProjectComponent objects. |
ProjectComponent |
convertToProjectComponent(MutableProjectComponent value)
Convert the specified MutableProjectComponent to a ProjectComponent object. |
Collection<ProjectComponent> |
convertToProjectComponents(Collection<MutableProjectComponent> mutables)
Convert a collection of MutableProjectComponent objects to a collection of ProjectComponent objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentConverter()
| Method Detail |
|---|
public Collection<MutableProjectComponent> convertToComponents(Collection<org.ofbiz.core.entity.GenericValue> componentGVCollection)
componentGVCollection - collection of GenericValues - each GenericValue represents a ProjectComponent
public MutableProjectComponent convertToComponent(org.ofbiz.core.entity.GenericValue componentGV)
componentGV - GenericValue object representing a MutableProjectComponent object to be converted to a
MutableProjectComponent object
public ProjectComponent convertToProjectComponent(MutableProjectComponent value)
value - MutableProjectComponent to be converted into a ProjectComponent.
public Collection<ProjectComponent> convertToProjectComponents(Collection<MutableProjectComponent> mutables)
mutables - collection of MutableProjectComponent objects to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||