Klasse BigDecimalField

java.lang.Object
org.apache.fulcrum.intake.model.Field<BigDecimal>
org.apache.fulcrum.intake.model.BigDecimalField
Alle implementierten Schnittstellen:
Serializable, org.apache.avalon.framework.logger.LogEnabled

public class BigDecimalField extends Field<BigDecimal>
Version:
$Id$
Autor:
John McNally, Daniel Rall, Henning P. Schmiedehausen, Quinton McCombs, Thomas Vandahl
Siehe auch:
  • Konstruktordetails

    • BigDecimalField

      public BigDecimalField(XmlField field, Group group) throws IntakeException
      Constructor.
      Parameter:
      field - xml field definition object
      group - xml group definition object
      Löst aus:
      IntakeException - thrown by superclass
  • Methodendetails

    • setDefaultValue

      public void setDefaultValue(String prop)
      Sets the default value for a BigDecimal field
      Angegeben von:
      setDefaultValue in Klasse Field<BigDecimal>
      Parameter:
      prop - Parameter for the default values
    • setEmptyValue

      public void setEmptyValue(String prop)
      Set the empty Value. This value is used if Intake maps a field to a parameter returned by the user and the corresponding field is either empty (empty string) or non-existant.
      Angegeben von:
      setEmptyValue in Klasse Field<BigDecimal>
      Parameter:
      prop - The value to use if the field is empty.
    • getDefaultValidator

      protected String getDefaultValidator()
      A suitable validator.
      Setzt außer Kraft:
      getDefaultValidator in Klasse Field<BigDecimal>
      Gibt zurück:
      A suitable validator
    • doSetValue

      protected void doSetValue()
      Sets the value of the field from data in the parser.
      Angegeben von:
      doSetValue in Klasse Field<BigDecimal>