package models;


import java.util.List;

/**
 * A Set object that holds the information about list of Routines.
 * Is really a link of various Routine IDs.
 *
 * @see https://github.com/PlayWithMagic/PlayWithMagic/issues/101
 */
public class Set {

  private long id;
  private long userId;
  // Set Info
  private String setName;
  private String description;
  private List<Long> routines;



  /**
   * Creates a Set object.
   * @param id The ID of the Set.
   * @param setName The Name of the Set.
   * @param routines The List of Long IDs of the routines in the set.
   */
  public Set(long id, long userId, String setName, String description, List<Long> routines) {
    this.id = id;
    this.userId = userId;
    this.setName = setName;
    this.description = description;
    this.routines = routines;
  }

  /**
   * Get the ID of the set
   * @return The Set ID value.
   */
  public long getId() {
    return id;
  }

  /**
   * Get the ID of the User who created the Set.
   * @return The ID of the user.
   */
  public long getUserId() {
    return userId;
  }

  /**
   * Get the Name of the set.
   * @return The Name of the set.
   */
  public String getSetName() {
    return setName;
  }

  /**
   * Get the Description of the Set
   * @return The Description of the Set.
   */
  public String getDescription() {
    return description;
  }

  /**
   * Get the List of Routine IDs in the set.
   * @return The List of Routine IDs.
   */
  public List<Long> getRoutines() {
    return routines;
  }
}

@@ -472,24 +472,135 @@
 ram 
-setName The Name
+userId The ID of the user who created the Set.%0A   * @param setName The Name of the Set.%0A   * @param description The description
  of 
@@ -953,16 +953,17 @@
  the set
+.
 %0A   * @r
@@ -1312,32 +1312,32 @@
 ame;%0A  %7D%0A%0A  /**%0A
-
    * Get the Des
@@ -1355,16 +1355,17 @@
  the Set
+.
 %0A   * @r

Fix Checkstyle issues. #101 #72