org.nakedobjects.metamodel.facets.disable
Class DisableForSessionFacetNone

java.lang.Object
  extended by org.nakedobjects.metamodel.facets.FacetAbstract
      extended by org.nakedobjects.metamodel.facets.disable.DisableForSessionFacetAbstract
          extended by org.nakedobjects.metamodel.facets.disable.DisableForSessionFacetNone
All Implemented Interfaces:
InteractionAdvisor, InteractionAdvisorFacet, DisableForSessionFacet, Facet, DisablingInteractionAdvisor

public class DisableForSessionFacetNone
extends DisableForSessionFacetAbstract


Field Summary
 
Fields inherited from interface org.nakedobjects.metamodel.consent.InteractionAdvisorFacet
NOOP
 
Constructor Summary
DisableForSessionFacetNone(FacetHolder holder)
           
 
Method Summary
 java.lang.String disabledReason(AuthenticationSession session)
          The reason this is disabled, or null if not.
 boolean isNoop()
          Assume implementation is not a no-op.
 
Methods inherited from class org.nakedobjects.metamodel.facets.disable.DisableForSessionFacetAbstract
disables, type
 
Methods inherited from class org.nakedobjects.metamodel.facets.FacetAbstract
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, setFacetHolder, setUnderlyingFacet, toString, toStringValues, unwrapObject, unwrapString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.metamodel.facets.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, setFacetHolder, setUnderlyingFacet
 

Constructor Detail

DisableForSessionFacetNone

public DisableForSessionFacetNone(FacetHolder holder)
Method Detail

disabledReason

public java.lang.String disabledReason(AuthenticationSession session)
Description copied from interface: DisableForSessionFacet
The reason this is disabled, or null if not.


isNoop

public boolean isNoop()
Description copied from class: FacetAbstract
Assume implementation is not a no-op.

No-op implementations should override and return true.

Specified by:
isNoop in interface Facet
Overrides:
isNoop in class FacetAbstract


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.