public abstract class AbstractTypeMemberReprRenderer<R extends ReprRendererAbstract<R,ParentSpecAndFeature<T>>,T extends org.apache.isis.core.metamodel.spec.feature.ObjectMember> extends AbstractTypeFeatureReprRenderer<R,T>
| Modifier and Type | Field and Description |
|---|---|
protected MemberType |
memberType |
objectFeature, objectSpecificationincludesSelf, rendererContext, representation| Constructor and Description |
|---|
AbstractTypeMemberReprRenderer(RendererContext resourceContext,
LinkFollowSpecs linkFollower,
org.apache.isis.viewer.restfulobjects.applib.RepresentationType representationType,
org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation representation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLinkSelfIfRequired()
Mandatory hook method.
|
protected void |
addLinkUpToParent()
Mandatory hook method.
|
MemberType |
getMemberType()
null if the feature is an object action param.
|
R |
with(ParentSpecAndFeature<T> specAndFeature) |
addLinksSpecificToFeature, addPropertiesSpecificToFeature, getObjectFeature, getParentSpecification, putExtensionsDescriptionIfAvailable, putExtensionsName, putExtensionsSpecificToFeature, renderaddExtensionsIsisProprietaryChangedObjects, addLink, addMediaTypeParams, cast, getExtensions, getLinkFollowSpecs, getLinks, getMediaType, getRendererContext, getServiceAdapters, getUpdateNotifier, includesSelf, withExtensions, withLink, withLinkprotected MemberType memberType
public AbstractTypeMemberReprRenderer(RendererContext resourceContext, LinkFollowSpecs linkFollower, org.apache.isis.viewer.restfulobjects.applib.RepresentationType representationType, org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation representation)
public MemberType getMemberType()
public R with(ParentSpecAndFeature<T> specAndFeature)
with in interface ReprRenderer<R extends ReprRendererAbstract<R,ParentSpecAndFeature<T>>,ParentSpecAndFeature<T extends org.apache.isis.core.metamodel.spec.feature.ObjectMember>>with in class AbstractTypeFeatureReprRenderer<R extends ReprRendererAbstract<R,ParentSpecAndFeature<T>>,T extends org.apache.isis.core.metamodel.spec.feature.ObjectMember>protected void addLinkUpToParent()
AbstractTypeFeatureReprRendereraddLinkUpToParent in class AbstractTypeFeatureReprRenderer<R extends ReprRendererAbstract<R,ParentSpecAndFeature<T>>,T extends org.apache.isis.core.metamodel.spec.feature.ObjectMember>protected void addLinkSelfIfRequired()
AbstractTypeFeatureReprRendereraddLinkSelfIfRequired in class AbstractTypeFeatureReprRenderer<R extends ReprRendererAbstract<R,ParentSpecAndFeature<T>>,T extends org.apache.isis.core.metamodel.spec.feature.ObjectMember>Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.