sathyashrayan

EavAttribute.php

Aug 5th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.99 KB | None | 0 0
  1. <?php
  2.  
  3. namespace Attributes\Model;
  4.  
  5.  
  6. class EavAttribute implements EavAttributeInterface
  7. {
  8.     private $Id;
  9.  
  10.    
  11.     private $eav_attribute_input_typeId;
  12.  
  13.    
  14.     private $eav_validation_type;
  15.  
  16.    
  17.     private $eav_attribute_input_label;
  18.  
  19.    
  20.     private $eav_attribute_code;
  21.  
  22.    
  23.     private $is_required;
  24.  
  25.    
  26.     private $eav_attribute_unique;
  27.  
  28.    
  29.     private $can_product_display;
  30.  
  31.    
  32.     private $can_use_filter;
  33.  
  34.    
  35.     private $can_search;
  36.  
  37.    
  38.     private $default_value;
  39.  
  40.  
  41.  
  42.    
  43.     public function getId()
  44.     {
  45.         return $this->Id;
  46.     }
  47.  
  48.    
  49.     public function setEavAttributeInputTypeId($eavAttributeInputTypeId)
  50.     {
  51.         $this->eav_attribute_input_type_id = $eavAttributeInputTypeId;
  52.  
  53.     }
  54.  
  55.    
  56.     public function getEavAttributeInputTypeId()
  57.     {
  58.         return $this->eav_attribute_input_type_id;
  59.     }
  60.  
  61.    
  62.     public function setEavValidationType($eavValidationType)
  63.     {
  64.         $this->eav_validation_type = $eavValidationType;
  65.  
  66.     }
  67.  
  68.    
  69.     public function getEavValidationType()
  70.     {
  71.         return $this->eav_validation_type;
  72.     }
  73.  
  74.    
  75.     public function setEavAttributeInputLabel($eavAttributeInputLabel)
  76.     {
  77.         $this->eav_attribute_input_label = $eavAttributeInputLabel;
  78.  
  79.     }
  80.  
  81.    
  82.     public function getEavAttributeInputLabel()
  83.     {
  84.         return $this->eav_attribute_input_label;
  85.     }
  86.  
  87.    
  88.     public function setEavAttributeCode($eavAttributeCode)
  89.     {
  90.         $this->eav_attribute_code = $eavAttributeCode;
  91.  
  92.     }
  93.  
  94.    
  95.     public function getEavAttributeCode()
  96.     {
  97.         return $this->eav_attribute_code;
  98.     }
  99.  
  100.    
  101.     public function setIsRequired($isRequired)
  102.     {
  103.         $this->is_required = $isRequired;
  104.  
  105.     }
  106.  
  107.    
  108.     public function getIsRequired()
  109.     {
  110.         return $this->is_required;
  111.     }
  112.  
  113.    
  114.     public function setEavAttributeUnique($eavAttributeUnique)
  115.     {
  116.         $this->eav_attribute_unique = $eavAttributeUnique;
  117.  
  118.     }
  119.  
  120.    
  121.     public function getEavAttributeUnique()
  122.     {
  123.         return $this->eav_attribute_unique;
  124.     }
  125.  
  126.    
  127.     public function setCanProductDisplay($canProductDisplay)
  128.     {
  129.         $this->can_product_display = $canProductDisplay;
  130.  
  131.     }
  132.  
  133.    
  134.     public function getCanProductDisplay()
  135.     {
  136.         return $this->can_product_display;
  137.     }
  138.  
  139.    
  140.     public function setCanUseFilter($canUseFilter)
  141.     {
  142.         $this->can_use_filter = $canUseFilter;
  143.  
  144.     }
  145.  
  146.    
  147.     public function getCanUseFilter()
  148.     {
  149.         return $this->can_use_filter;
  150.     }
  151.  
  152.    
  153.     public function setCanSearch($canSearch)
  154.     {
  155.         $this->can_search = $canSearch;
  156.  
  157.     }
  158.  
  159.    
  160.     public function getCanSearch()
  161.     {
  162.         return $this->can_search;
  163.     }
  164.  
  165.    
  166.     public function setDefaultValue($defaultValue)
  167.     {
  168.         $this->default_value = $defaultValue;
  169.  
  170.     }
  171.  
  172.    
  173.     public function getDefaultValue()
  174.     {
  175.         return $this->default_value;
  176.     }
  177. }
Add Comment
Please, Sign In to add comment