org.apache.tapestry5.internal.model
Class ParameterModelImpl

java.lang.Object
  extended by org.apache.tapestry5.internal.model.ParameterModelImpl
All Implemented Interfaces:
ParameterModel

public class ParameterModelImpl
extends Object
implements ParameterModel


Constructor Summary
ParameterModelImpl(String name, boolean required, boolean allowNull, String defaultBindingPrefix)
           
 
Method Summary
 String getDefaultBindingPrefix()
          The default binding prefix for the parameter, usually "prop".
 String getName()
          The name of the parameter.
 boolean isAllowNull()
          If true, then no check is needed.
 boolean isRequired()
          If true, the parameter is required.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterModelImpl

public ParameterModelImpl(String name,
                          boolean required,
                          boolean allowNull,
                          String defaultBindingPrefix)
Method Detail

getName

public String getName()
Description copied from interface: ParameterModel
The name of the parameter.

Specified by:
getName in interface ParameterModel

isRequired

public boolean isRequired()
Description copied from interface: ParameterModel
If true, the parameter is required.

Specified by:
isRequired in interface ParameterModel

getDefaultBindingPrefix

public String getDefaultBindingPrefix()
Description copied from interface: ParameterModel
The default binding prefix for the parameter, usually "prop".

Specified by:
getDefaultBindingPrefix in interface ParameterModel

isAllowNull

public boolean isAllowNull()
Description copied from interface: ParameterModel
If true, then no check is needed. If false, then the bound value must not be null.

Specified by:
isAllowNull in interface ParameterModel


Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.