Class AttributeField


  • public class AttributeField
    extends Object
    AttributeField
    • Constructor Detail

      • AttributeField

        public AttributeField()
    • Method Detail

      • setIdField

        public void setIdField​(int nIdField)
        Set ID field
        Parameters:
        nIdField - ID Field
      • getIdField

        public int getIdField()
        Get ID Field
        Returns:
        ID Field
      • setAttribute

        public void setAttribute​(IAttribute attribute)
        Set attribute
        Parameters:
        attribute - attribute
      • getAttribute

        public IAttribute getAttribute()
        Get attribute
        Returns:
        attribute
      • getTitle

        public String getTitle()
        Returns:
        the title of the field
      • setTitle

        public void setTitle​(String title)
        set the title of the field
        Parameters:
        title - the title of the field
      • getValue

        public String getValue()
        Returns:
        the value of the field
      • setValue

        public void setValue​(String value)
        set the value of the field
        Parameters:
        value - the value of the field
      • isDefaultValue

        public boolean isDefaultValue()
        Returns:
        true if the field is a default field of the entry
      • setDefaultValue

        public void setDefaultValue​(boolean defaultValue)
        set true if the field is a default field of the entry
        Parameters:
        defaultValue - true if the field is a default field of the entry
      • getPosition

        public int getPosition()
        Returns:
        the position of the field in the list of the entry's fields
      • setPosition

        public void setPosition​(int position)
        set the position of the field in the list of the entry's fields
        Parameters:
        position - the position of the field in the list of fields
      • getHeight

        public int getHeight()
        Get height
        Returns:
        height
      • setHeight

        public void setHeight​(int nHeight)
        Set height
        Parameters:
        nHeight - Height
      • getWidth

        public int getWidth()
        Get width
        Returns:
        width
      • setWidth

        public void setWidth​(int nWidth)
        Set width
        Parameters:
        nWidth - width
      • getMaxSizeEnter

        public int getMaxSizeEnter()
        Get max size enter
        Returns:
        max size enter
      • setMaxSizeEnter

        public void setMaxSizeEnter​(int nMaxSizeEnter)
        Set max size enter
        Parameters:
        nMaxSizeEnter - max size enter
      • isMultiple

        public boolean isMultiple()
        Check if the attribute is multiple
        Returns:
        true if it is multiple, false otherwise
      • setMultiple

        public void setMultiple​(boolean bMultiple)
        Set the multiple
        Parameters:
        bMultiple - mutiple