Back to project page protohipster.
The source code is released under:
Apache License
If you think the Android project protohipster listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.flipper83.protohipster.feed.domain.mappers; /* w w w. j a v a 2s .c o m*/ import com.flipper83.protohipster.feed.domain.boundaries.HipsterBoundary; import com.flipper83.protohipster.feed.domain.gateway.Hipster; import javax.inject.Inject; /** * this class mapping models without */ public class HipsterMapperManual implements HipsterMapper { @Inject public HipsterMapperManual() { } @Override public HipsterBoundary mapper(Hipster hipster) { HipsterBoundary hipsterBoundary = new HipsterBoundary(); hipsterBoundary.setAvatar(hipster.getAvatar()); hipsterBoundary.setUserId(hipster.getUserId()); hipsterBoundary.setName(hipster.getName() + " " + hipster.getSurname()); return hipsterBoundary; } }