@Service public class EstimateStatisticAOMapper extends Object implements RelatedAOMapper<RapidViewAO,EstimateStatisticAO,StatisticsFieldConfig>
AOMapper
for EstimateStatisticAO
records. Note that the domain
object representation StatisticsFieldConfig
of this record is shared with other records.
Since this record is related to RapidViewAO
this also implements RelatedAOMapper
.Constructor and Description |
---|
EstimateStatisticAOMapper() |
Modifier and Type | Method and Description |
---|---|
Map<String,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. |
Map<String,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.
|
@Nonnull public Map<String,Object> toAO(StatisticsFieldConfig estimateStatistic)
AOMapper
toAO
in interface AOMapper<EstimateStatisticAO,StatisticsFieldConfig>
estimateStatistic
- the new domain object@Nonnull public Map<String,Object> toAO(RapidViewAO rapidViewAO, StatisticsFieldConfig estimateStatistic)
RelatedAOMapper
AOMapper.toAO(Object)
but also incorporating
the parent record information.toAO
in interface RelatedAOMapper<RapidViewAO,EstimateStatisticAO,StatisticsFieldConfig>
@Nonnull public StatisticsFieldConfig toModel(EstimateStatisticAO estimateStatisticAO)
AOMapper
toModel
in interface AOMapper<EstimateStatisticAO,StatisticsFieldConfig>
estimateStatisticAO
- the record to usepublic void update(StatisticsFieldConfig source, EstimateStatisticAO target)
AOMapper
update
in interface AOMapper<EstimateStatisticAO,StatisticsFieldConfig>
source
- the domain objecttarget
- the corresponding AO recordCopyright © 2007–2025 Atlassian. All rights reserved.