if(describedAsFacet != null && !describedAsFacet.isNoop() && !Strings.isNullOrEmpty(describedAsFacet.value())) {
DescribedAsFacetRepr describedAsFacetRepr = new DescribedAsFacetRepr();
describedAsFacetRepr.value = describedAsFacet.value();
memberRepr.describedAs = describedAsFacetRepr;
}
NamedFacet namedFacet = assoc.getFacet(NamedFacet.class);
if(namedFacet != null && !namedFacet.isNoop()) {
NamedFacetRepr namedFacetRepr = new NamedFacetRepr();
namedFacetRepr.value = namedFacet.value();
memberRepr.named = namedFacetRepr;
}
DisabledFacet disabledFacet = assoc.getFacet(DisabledFacet.class);
if(disabledFacet != null && !disabledFacet.isNoop()) {
DisabledFacetRepr disabledFacetRepr = new DisabledFacetRepr();