Class ModelField

java.lang.Object
org.apache.ofbiz.datafile.ModelField
All Implemented Interfaces:
Serializable

public class ModelField extends Object implements Serializable
ModelField
See Also:
  • Constructor Details

    • ModelField

      public ModelField()
  • Method Details

    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name
    • getPosition

      public int getPosition()
      Gets position.
      Returns:
      the position
    • getLength

      public int getLength()
      Gets length.
      Returns:
      the length
    • setPosition

      public void setPosition(int position)
      Sets position.
      Parameters:
      position - the position
    • setLength

      public void setLength(int length)
      Sets length.
      Parameters:
      length - the length
    • setType

      public void setType(String type)
      Sets type.
      Parameters:
      type - the type
    • getType

      public String getType()
      Gets type.
      Returns:
      the type
    • setFormat

      public void setFormat(String format)
      Sets format.
      Parameters:
      format - the format
    • getFormat

      public String getFormat()
      Gets format.
      Returns:
      the format
    • setValidExp

      public void setValidExp(String validExp)
      Sets valid exp.
      Parameters:
      validExp - the valid exp
    • setDescription

      public void setDescription(String description)
      Sets description.
      Parameters:
      description - the description
    • setDefaultValue

      public void setDefaultValue(Object defaultValue)
      Sets default value.
      Parameters:
      defaultValue - the default value
    • setPk

      public void setPk(boolean pk)
      Sets pk.
      Parameters:
      pk - the pk
    • setIgnored

      public void setIgnored(boolean ignored)
      Sets ignored.
      Parameters:
      ignored - the ignored
    • setExpression

      public void setExpression(boolean expression)
      Sets expression.
      Parameters:
      expression - the expression
    • setRefField

      public void setRefField(String refField)
      Sets ref field.
      Parameters:
      refField - the ref field
    • getDefaultValue

      public Object getDefaultValue()
      Gets default value.
      Returns:
      the default value
    • isExpression

      public boolean isExpression()
      Is expression boolean.
      Returns:
      the boolean
    • getRefField

      public String getRefField()
      Gets ref field.
      Returns:
      the ref field
    • isIgnored

      public boolean isIgnored()
      Is ignored boolean.
      Returns:
      the boolean