if(pagedFacet != null && !pagedFacet.isNoop()) {
PagedFacetRepr pagedFacetRepr = new PagedFacetRepr();
pagedFacetRepr.value = pagedFacet.value();
memberRepr.paged = pagedFacetRepr;
}
RenderFacet renderFacet = assoc.getFacet(RenderFacet.class);
if(renderFacet != null && !renderFacet.isNoop()) {
RenderFacetRepr renderFacetRepr = new RenderFacetRepr();
renderFacetRepr.value = renderFacet.value();
memberRepr.render = renderFacetRepr;
}
TypicalLengthFacet typicalLengthFacet = assoc.getFacet(TypicalLengthFacet.class);
if(typicalLengthFacet != null && !typicalLengthFacet.isNoop()) {
TypicalLengthFacetRepr typicalLengthFacetRepr = new TypicalLengthFacetRepr();