|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.metamodel.facets.FacetAbstract
org.nakedobjects.metamodel.facets.MarkerFacetAbstract
org.nakedobjects.metamodel.facets.object.bounded.BoundedFacetAbstract
public abstract class BoundedFacetAbstract
| Field Summary |
|---|
| Fields inherited from interface org.nakedobjects.metamodel.consent.InteractionAdvisorFacet |
|---|
NOOP |
| Constructor Summary | |
|---|---|
BoundedFacetAbstract(FacetHolder holder)
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
disabledReason(NakedObject no)
Hook method for subclasses to override. |
java.lang.String |
disables(UsabilityContext<? extends UsabilityEvent> context)
Whether the rule represented by this facet disables the member to which it applies. |
java.lang.String |
invalidates(ValidityContext<? extends ValidityEvent> context)
Whether the validation represented by this facet passes or fails. |
static java.lang.Class<? extends Facet> |
type()
|
| Methods inherited from class org.nakedobjects.metamodel.facets.FacetAbstract |
|---|
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, 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, isNoop, setFacetHolder, setUnderlyingFacet |
| Constructor Detail |
|---|
public BoundedFacetAbstract(FacetHolder holder)
| Method Detail |
|---|
public static java.lang.Class<? extends Facet> type()
public abstract java.lang.String disabledReason(NakedObject no)
public java.lang.String invalidates(ValidityContext<? extends ValidityEvent> context)
ValidatingInteractionAdvisor
Implementations should use the provided ValidityContext to determine whether they declare the
interaction invalid. They must however guard against a null
target and session - neither
are guaranteed to be populated.
invalidates in interface ValidatingInteractionAdvisorpublic java.lang.String disables(UsabilityContext<? extends UsabilityEvent> context)
DisablingInteractionAdvisor
Implementations should use the provided InteractionContext to determine whether they disable
the member from being modified or used. They must however guard against a null
target and session -
neither are guaranteed to be populated.
disables in interface DisablingInteractionAdvisor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||