public final class AttributeFieldHome extends Object
Modifier and Type | Method and Description |
---|---|
static int |
create(AttributeField attributeField)
Insert an new attribute field
|
static AttributeField |
findByPrimaryKey(int nIdField)
Load attribute field
|
static void |
remove(int nIdField)
Delete an attribute field
|
static void |
removeAttributeFieldsFromIdAttribute(int nIdAttribute)
Delete all attribute field from an attribute id
|
static IAttribute |
selectAttributeByIdField(int nIdField)
Load the attribute associated to the id field
|
static List<AttributeField> |
selectAttributeFieldsByIdAttribute(int nIdAttribute)
Load the lists of attribute field associated to an attribute
|
static void |
update(AttributeField attributeField)
Update an attribute field
|
public static AttributeField findByPrimaryKey(int nIdField)
nIdField
- ID Fieldpublic static List<AttributeField> selectAttributeFieldsByIdAttribute(int nIdAttribute)
nIdAttribute
- the ID attributepublic static IAttribute selectAttributeByIdField(int nIdField)
nIdField
- the id fieldpublic static int create(AttributeField attributeField)
attributeField
- the attribute fieldpublic static void update(AttributeField attributeField)
attributeField
- the attribute fieldpublic static void remove(int nIdField)
nIdField
- the attribute field idpublic static void removeAttributeFieldsFromIdAttribute(int nIdAttribute)
nIdAttribute
- the ID attributeCopyright © 2020 City of Paris. All rights reserved.