public class TitleFacetViaToStringMethod extends TitleFacetAbstract implements ImperativeFacet
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingImperativeFacet.Flags, ImperativeFacet.Intent, ImperativeFacet.UtilFILTER| Constructor and Description |
|---|
TitleFacetViaToStringMethod(Method method,
FacetHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
ImperativeFacet.Intent |
getIntent(Method method)
The intent of this method, so that the
WrapperFactory knows whether to delegate on or to reject. |
List<Method> |
getMethods()
Returns a singleton list of the
Method provided in the
constructor. |
boolean |
impliesObjectChanged()
Whether invoking this method requires an
DomainObjectContainer.objectChanged(Object) to occur afterwards. |
boolean |
impliesResolve()
Whether invoking this requires a
DomainObjectContainer.resolve(Object) to occur first. |
boolean |
isNoop()
Assume implementation is not a no-op.
|
String |
title(ObjectAdapter object,
org.apache.isis.applib.profiles.Localization localization)
Provide a title for the target object, with respect to the specified
Localization. |
title, typealwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, setFacetHolder, setUnderlyingFacet, toString, toStringValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, setFacetHolder, setUnderlyingFacetpublic TitleFacetViaToStringMethod(Method method, FacetHolder holder)
public List<Method> getMethods()
Method provided in the
constructor.getMethods in interface ImperativeFacetpublic ImperativeFacet.Intent getIntent(Method method)
ImperativeFacetWrapperFactory knows whether to delegate on or to reject.getIntent in interface ImperativeFacetmethod - - one of the methods returned from ImperativeFacet.getMethods()public boolean impliesResolve()
ImperativeFacetDomainObjectContainer.resolve(Object) to occur first.impliesResolve in interface ImperativeFacetpublic boolean impliesObjectChanged()
ImperativeFacetDomainObjectContainer.objectChanged(Object) to occur afterwards.impliesObjectChanged in interface ImperativeFacetpublic String title(ObjectAdapter object, org.apache.isis.applib.profiles.Localization localization)
TitleFacetLocalization.title in interface TitleFacetpublic boolean isNoop()
FacetAbstractNo-op implementations should override and return true.
isNoop in interface FacetisNoop in class FacetAbstractCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.