|
||||||||||
| 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.propparam.validate.mandatory.MandatoryFacetAbstract
org.nakedobjects.metamodel.facets.actions.MandatoryFacetOverriddenByMethod
public class MandatoryFacetOverriddenByMethod
Derived by presence of an optionalXxx method.
This implementation indicates that the FacetHolder is not mandatory, as per
isInvertedSemantics().
| Field Summary |
|---|
| Fields inherited from interface org.nakedobjects.metamodel.consent.InteractionAdvisorFacet |
|---|
NOOP |
| Constructor Summary | |
|---|---|
MandatoryFacetOverriddenByMethod(FacetHolder holder)
|
|
| Method Summary | |
|---|---|
boolean |
isInvertedSemantics()
Indicates that the implementation is overridding the usual semantics, in other words that the FacetHolder to which this Facet is attached is not mandatory. |
boolean |
isRequiredButNull(NakedObject nakedObject)
Always returns false, indicating that the facet holder is in fact optional. |
| Methods inherited from class org.nakedobjects.metamodel.facets.propparam.validate.mandatory.MandatoryFacetAbstract |
|---|
invalidates, 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 MandatoryFacetOverriddenByMethod(FacetHolder holder)
| Method Detail |
|---|
public boolean isRequiredButNull(NakedObject nakedObject)
public boolean isInvertedSemantics()
MandatoryFacetFacetHolder to which this Facet is attached is not mandatory.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||