Class AbstractField

    • Constructor Detail

      • AbstractField

        public AbstractField()
    • Method Detail

      • getOccurrence

        public int getOccurrence()
        Description copied from interface: Field
        Gets the occurrence position of this field in the case there is several identical fields in a DataRecord. A field is identified by its name.
        Specified by:
        getOccurrence in interface Field
        Returns:
        the occurrence position of this field.
      • setOccurrence

        public void setOccurrence​(int i)
        Description copied from interface: Field
        Sets the specified occurrence position of this field in a DataRecord when there is several similar fields. A field is identified by its name.
        Specified by:
        setOccurrence in interface Field
        Parameters:
        i - the occurrence position.
      • setName

        public void setName​(String name)
        Description copied from interface: Field
        Sets the name of this field. Its name is its identifier in a DataRecord or in a RecordTemplate.
        Specified by:
        setName in interface Field
        Parameters:
        name - the name of the field.
      • getName

        public String getName()
        Description copied from interface: Field
        Gets the name of this field.
        Specified by:
        getName in interface Field
        Returns:
        the field name.