HiddenFacetRepr hiddenFacetRepr = new HiddenFacetRepr();
hiddenFacetRepr.when = whenAlwaysToNull(hiddenFacet.when());
hiddenFacetRepr.where = whereAnywhereToNull(hiddenFacet.where());
memberRepr.hidden = hiddenFacetRepr;
}
MultiLineFacet multiLineFacet = assoc.getFacet(MultiLineFacet.class);
if(multiLineFacet != null && !multiLineFacet.isNoop()) {
MultiLineFacetRepr multiLineFacetRepr = new MultiLineFacetRepr();
multiLineFacetRepr.numberOfLines = multiLineFacet.numberOfLines();
memberRepr.multiLine = multiLineFacetRepr;
}
PagedFacet pagedFacet = assoc.getFacet(PagedFacet.class);
if(pagedFacet != null && !pagedFacet.isNoop()) {
PagedFacetRepr pagedFacetRepr = new PagedFacetRepr();