org.nakedobjects.metamodel.facets.propparam.typicallength
Class TypicalLengthFacetZero

java.lang.Object
  extended by org.nakedobjects.metamodel.facets.FacetAbstract
      extended by org.nakedobjects.metamodel.facets.propparam.typicallength.TypicalLengthFacetAbstract
          extended by org.nakedobjects.metamodel.facets.propparam.typicallength.TypicalLengthFacetZero
All Implemented Interfaces:
Facet, TypicalLengthFacet, SingleIntValueFacet

public class TypicalLengthFacetZero
extends TypicalLengthFacetAbstract


Constructor Summary
TypicalLengthFacetZero(FacetHolder holder)
           
 
Method Summary
 boolean isNoop()
          Assume implementation is not a no-op.
 int value()
           
 
Methods inherited from class org.nakedobjects.metamodel.facets.propparam.typicallength.TypicalLengthFacetAbstract
toStringValues, type
 
Methods inherited from class org.nakedobjects.metamodel.facets.FacetAbstract
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, setFacetHolder, setUnderlyingFacet, toString, 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

TypicalLengthFacetZero

public TypicalLengthFacetZero(FacetHolder holder)
Method Detail

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

value

public int value()
Specified by:
value in interface TypicalLengthFacet
Specified by:
value in interface SingleIntValueFacet
Specified by:
value in class TypicalLengthFacetAbstract


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