Class AttributeFieldHome


  • public final class AttributeFieldHome
    extends java.lang.Object
    AttributeFieldHome
    • Method Detail

      • findByPrimaryKey

        public static AttributeField findByPrimaryKey​(int nIdField)
        Load attribute field
        Parameters:
        nIdField - ID Field
        Returns:
        Attribute Field
      • selectAttributeFieldsByIdAttribute

        public static java.util.List<AttributeField> selectAttributeFieldsByIdAttribute​(int nIdAttribute)
        Load the lists of attribute field associated to an attribute
        Parameters:
        nIdAttribute - the ID attribute
        Returns:
        the list of attribute fields
      • selectAttributeByIdField

        public static IAttribute selectAttributeByIdField​(int nIdField)
        Load the attribute associated to the id field
        Parameters:
        nIdField - the id field
        Returns:
        attribute
      • create

        public static int create​(AttributeField attributeField)
        Insert an new attribute field
        Parameters:
        attributeField - the attribute field
        Returns:
        new PK
      • update

        public static void update​(AttributeField attributeField)
        Update an attribute field
        Parameters:
        attributeField - the attribute field
      • remove

        public static void remove​(int nIdField)
        Delete an attribute field
        Parameters:
        nIdField - the attribute field id
      • removeAttributeFieldsFromIdAttribute

        public static void removeAttributeFieldsFromIdAttribute​(int nIdAttribute)
        Delete all attribute field from an attribute id
        Parameters:
        nIdAttribute - the ID attribute