EpalStudentInterface.php 3.06 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
<?php

namespace Drupal\epal\Entity;

use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\EntityChangedInterface;
use Drupal\user\EntityOwnerInterface;

/**
 * Provides an interface for defining EPAL Student entities.
 *
 * @ingroup epal
 */
interface EpalStudentInterface extends  ContentEntityInterface, EntityChangedInterface, EntityOwnerInterface {

  // Add get/set methods for your configuration properties here.

  /**
   * Gets the EPAL Student name.
   *
   * @return string
   *   Name of the EPAL Student.
   */
  public function getName();

  /**
   * Sets the EPAL Student name.
   *
   * @param string $name
   *   The EPAL Student name.
   *
   * @return \Drupal\epal\Entity\EpalStudentInterface
   *   The called EPAL Student entity.
   */
  public function setName($name);

  /**
   * Gets the EPAL Student creation timestamp.
   *
   * @return int
   *   Creation timestamp of the EPAL Student.
   */
  public function getCreatedTime();

  /**
   * Sets the EPAL Student creation timestamp.
   *
   * @param int $timestamp
   *   The EPAL Student creation timestamp.
   *
   * @return \Drupal\epal\Entity\EpalStudentInterface
   *   The called EPAL Student entity.
   */
  public function setCreatedTime($timestamp);

  /**
   * Returns the EPAL Student published status indicator.
   *
   * Unpublished EPAL Student are only visible to restricted users.
   *
   * @return bool
   *   TRUE if the EPAL Student is published.
   */
  public function isPublished();

  /**
   * Sets the published status of a EPAL Student.
   *
   * @param bool $published
   *   TRUE to set this EPAL Student to published, FALSE to set it to unpublished.
   *
   * @return \Drupal\epal\Entity\EpalStudentInterface
   *   The called EPAL Student entity.
   */
  public function setPublished($published);

77 78 79 80 81 82 83
  //get/set methods for additional fields for  configuration properties.
  public function getUser_id();
  public function setUser_id($val);
  public function getEpaluser_id();
  public function setEpaluser_id($val);
  public function getStudentSurname();
  public function setStudentSurname($val);
84 85 86 87 88 89
  public function getBirthdate();
  public function setBirthdate($val);
  public function getFatherFirstname();
  public function setFatherFirstname($val);
  public function getMotherSurname();
  public function setMotherSurname($val);
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
  public function getStudentAmka();
  public function setStudentAmka($val);
  public function getRegionAddress();
  public function setRegionAddress($val);
  public function getRegionTK();
  public function setRegionTK($val);
  public function getRegionArea();
  public function setRegionArea($val);
  public function getCertificateType();
  public function setCertificateType($val);
  public function getCurrentclass();
  public function setCurrentclass($val);
  public function getCurrentepal();
  public function setCurrentepal($val);
  public function getCurrentsector();
  public function setCurrentsector($val);
  public function getTelnum();
  public function setTelnum($val);
  public function getRelationToStudent();
  public function setRelationToStudent($val);
  
111
}