|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.greenhopper.manager.estimatestatistic.EstimateStatisticAOMapper
@Service public class EstimateStatisticAOMapper
An AOMapper for EstimateStatisticAO records. Note that the domain
object representation StatisticsFieldConfig of this record is shared with other records.
RapidViewAO this also implements RelatedAOMapper.
| Constructor Summary | |
|---|---|
EstimateStatisticAOMapper()
|
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
toAO(RapidViewAO rapidViewAO,
StatisticsFieldConfig estimateStatistic)
Returns a map representation of the domain object, similar to AOMapper.toAO(Object) but also incorporating
the parent record information. |
java.util.Map<java.lang.String,java.lang.Object> |
toAO(StatisticsFieldConfig estimateStatistic)
Return a mapping of AO column names to values which will represent the domain object. |
StatisticsFieldConfig |
toModel(EstimateStatisticAO estimateStatisticAO)
Constructs a (usually immutable) domain object from the AO record. |
void |
update(StatisticsFieldConfig source,
EstimateStatisticAO target)
Copies fields from a domain object to the AO record representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EstimateStatisticAOMapper()
| Method Detail |
|---|
@NotNull public java.util.Map<java.lang.String,java.lang.Object> toAO(StatisticsFieldConfig estimateStatistic)
AOMapper
toAO in interface AOMapper<EstimateStatisticAO,StatisticsFieldConfig>estimateStatistic - the new domain object
@NotNull
public java.util.Map<java.lang.String,java.lang.Object> toAO(RapidViewAO rapidViewAO,
StatisticsFieldConfig estimateStatistic)
RelatedAOMapperAOMapper.toAO(Object) but also incorporating
the parent record information.
toAO in interface RelatedAOMapper<RapidViewAO,EstimateStatisticAO,StatisticsFieldConfig>@NotNull public StatisticsFieldConfig toModel(EstimateStatisticAO estimateStatisticAO)
AOMapper
toModel in interface AOMapper<EstimateStatisticAO,StatisticsFieldConfig>estimateStatisticAO - the record to use
public void update(StatisticsFieldConfig source,
EstimateStatisticAO target)
AOMapper
update in interface AOMapper<EstimateStatisticAO,StatisticsFieldConfig>source - the domain objecttarget - the corresponding AO record
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||