| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| CompoundPropositionBo |
|
| 0.0;0 |
| 1 | package org.kuali.rice.krms.impl.repository | |
| 2 | ||
| 3 | import org.kuali.rice.kns.bo.Inactivateable | |
| 4 | import org.kuali.rice.kns.bo.PersistableBusinessObjectBase | |
| 5 | ||
| 6 | import org.kuali.rice.krms.api.repository.Proposition | |
| 7 | import org.kuali.rice.krms.api.repository.PropositionContract | |
| 8 | import org.kuali.rice.krms.api.repository.PropositionParameter | |
| 9 | ||
| 10 | ||
| 11 | public class CompoundPropositionBo extends PropositionBo implements PropositionContract { | |
| 12 | ||
| 13 | // def String compoundOpCode | |
| 14 | // def List<CompoundPropositionPropositionBo> compoundComponents; | |
| 15 | // | |
| 16 | // /** | |
| 17 | // * Converts a mutable bo to it's immutable counterpart | |
| 18 | // * @param bo the mutable business object | |
| 19 | // * @return the immutable object | |
| 20 | // */ | |
| 21 | // static CompoundProposition to(CompoundPropositionBo bo) { | |
| 22 | // if (bo == null) { return null } | |
| 23 | // return org.kuali.rice.krms.api.repository.CompoundProposition.Builder.create(bo).build(); | |
| 24 | // } | |
| 25 | // | |
| 26 | // /** | |
| 27 | // * Converts a immutable object to it's mutable bo counterpart | |
| 28 | // * @param im immutable object | |
| 29 | // * @return the mutable bo | |
| 30 | // */ | |
| 31 | // static CompoundPropositionBo from(CompoundProposition im) { | |
| 32 | // if (im == null) { return null } | |
| 33 | // | |
| 34 | // CompoundPropositionBo bo = new CompoundPropositionBo() | |
| 35 | // bo.propId = im.propId | |
| 36 | // bo.description = im.description | |
| 37 | // bo.typeId = im.typeId | |
| 38 | // bo.propositionTypeCode = im.propositionTypeCode | |
| 39 | // bo.parameters = new ArrayList<PropositionParameterBo>() | |
| 40 | // for ( parm in im.parameters){ | |
| 41 | // bo.parameters.add (PropositionParameterBo.from(parm)) | |
| 42 | // } | |
| 43 | // | |
| 44 | // return bo | |
| 45 | // } | |
| 46 | ||
| 47 | } |