public class CollectionClearFacetViaAccessor extends CollectionClearFacetAbstract implements ImperativeFacet
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingImperativeFacet.Flags, ImperativeFacet.Intent, ImperativeFacet.UtilFILTER| Constructor and Description |
|---|
CollectionClearFacetViaAccessor(Method method,
FacetHolder holder,
AdapterManager adapterManager,
ObjectDirtier objectDirtier) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(ObjectAdapter owningAdapter) |
protected AdapterManager |
getAdapterManager() |
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. |
protected ObjectDirtier |
getObjectDirtier() |
boolean |
impliesObjectChanged()
Bytecode cannot automatically call
DomainObjectContainer.objectChanged(Object) because cannot
distinguish whether interacting with accessor to read it or to modify its
contents. |
boolean |
impliesResolve()
Whether invoking this requires a
DomainObjectContainer.resolve(Object) to occur first. |
protected String |
toStringValues() |
typealwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic CollectionClearFacetViaAccessor(Method method, FacetHolder holder, AdapterManager adapterManager, ObjectDirtier objectDirtier)
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()
DomainObjectContainer.objectChanged(Object) because cannot
distinguish whether interacting with accessor to read it or to modify its
contents.impliesObjectChanged in interface ImperativeFacetpublic void clear(ObjectAdapter owningAdapter)
clear in interface CollectionClearFacetprotected String toStringValues()
toStringValues in class FacetAbstractprotected AdapterManager getAdapterManager()
protected ObjectDirtier getObjectDirtier()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.