/**
   * If fabric element is list, loop through it
   *
   * @param fabricID
   * @param fabricElement
   */
  private void addFabricTo(Fabric fabricID, List fabricElement) {
    if (fabricElement != null) {

      List<ContainsFabric> elemets = new ArrayList();
      for (Object element : fabricElement) {
        if (element != null) {
          elemets.add((ContainsFabric) element);
        }
      }

      for (ContainsFabric element : elemets) {

        if (element != null) {
          element.setIdFabric(fabricID);
        }
      }
    }
  }
 /**
  * Update the fabric element to contain the fabric(id)
  *
  * @param fabricID
  * @param fabricElement
  */
 private void addFabricTo(Fabric fabricID, ContainsFabric fabricElement) {
   fabricElement.setIdFabric(fabricID);
 }