Class RecordDefinition.Property

    • Constructor Detail

      • Property

        public Property​(String name)
        Creates a new Property
        Parameters:
        name - the name of the property
    • Method Detail

      • getConverter

        public String getConverter()
        The fully qualified class name of the converter used to marshall and unmarshall this property
        Returns:
        a fully qualified class name
      • getFixedValue

        public String getFixedValue()
        The fixed value of this property, usually used to identify different lines in a single file
        Returns:
        the value
      • getLength

        public int getLength()
        The length of the property
        Returns:
        the length of the property
      • getName

        public String getName()
        The name of the property
        Returns:
        the name of the property
      • getPadder

        public String getPadder()
        The padder used to pad this property value. If missing (null ) the default padder will be used
        Returns:
        a fully qualified class name or null if none specified
      • getRow

        public int getRow()
        The row this property is at. If this is the first property at row 2, every subsequent property must be at least at row 2. Consistency is up to the definition writer (developer)
        Returns:
        the row
      • getType

        public String getType()
        The class name of the type of this property. Internally supported type names are not fully qualified (String, Integer...)
        Returns:
        the class name of this property type
      • setLength

        public void setLength​(int end)
      • setRow

        public void setRow​(int row)
      • isEnum

        public boolean isEnum()