Even though all the properties of an object may themselves be visible, there could be reasons to hide the object.
In the standard Apache Isis Programming Model, typically corresponds to the hidden method.
66676869707172737475
@Override public void process(final ProcessMethodContext processMethodContext) { final FacetedMethod member = processMethodContext.getFacetHolder(); final Class<?> owningClass = processMethodContext.getCls(); final ObjectSpecification owningSpec = getSpecificationLoader().loadSpecification(owningClass); final HiddenObjectFacet facet = owningSpec.getFacet(HiddenObjectFacet.class); if (facet != null) { facet.copyOnto(member); } }
@Override public void process(final ProcessMethodContext processMethodContext) { final FacetedMethod member = processMethodContext.getFacetHolder(); final Class<?> owningClass = processMethodContext.getCls(); final ObjectSpecification owningSpec = getSpecificationLookup().loadSpecification(owningClass); final HiddenObjectFacet facet = owningSpec.getFacet(HiddenObjectFacet.class); if (facet != null) { facet.copyOnto(member); } }