コード例 #1
0
ファイル: _EOActivites.java プロジェクト: cocktail-office/DT3
 /**
  * Creates and inserts a new EOActivites with non null attributes and mandatory relationships.
  *
  * @param editingContext
  * @param actAffichable
  * @param actLibelle
  * @param actOrdre
  * @param actPere
  * @param actPref
  * @param actResp
  * @param cStructure
  * @return EOActivites
  */
 public static EOActivites create(
     EOEditingContext editingContext,
     String actAffichable,
     String actLibelle,
     Integer actOrdre,
     Integer actPere,
     Integer actPref,
     Integer actResp,
     String cStructure) {
   EOActivites eo = (EOActivites) createAndInsertInstance(editingContext);
   eo.setActAffichable(actAffichable);
   eo.setActLibelle(actLibelle);
   eo.setActOrdre(actOrdre);
   eo.setActPere(actPere);
   eo.setActPref(actPref);
   eo.setActResp(actResp);
   eo.setCStructure(cStructure);
   return eo;
 }