public function __construct(eZContentClassAttribute $contentClassAttribute)
 {
     parent::__construct($contentClassAttribute);
     // talk about a braindead datatype...
     switch ($contentClassAttribute->attribute(eZIntegerType::INPUT_STATE_FIELD)) {
         case eZIntegerType::HAS_MIN_VALUE:
             $this->min = $contentClassAttribute->attribute(eZIntegerType::MAX_VALUE_FIELD);
             break;
         case eZIntegerType::HAS_MAX_VALUE:
             $this->max = $contentClassAttribute->attribute(eZIntegerType::MAX_VALUE_FIELD);
             break;
         case eZIntegerType::HAS_MIN_MAX_VALUE:
             $this->min = $contentClassAttribute->attribute(eZIntegerType::MIN_VALUE_FIELD);
             $this->max = $contentClassAttribute->attribute(eZIntegerType::MAX_VALUE_FIELD);
     }
 }
 public function __construct(eZContentClassAttribute $contentClassAttribute)
 {
     parent::__construct($contentClassAttribute);
     $this->maxSize = $contentClassAttribute->attribute(eZBinaryFileType::MAX_FILESIZE_FIELD);
 }
 public function __construct(eZContentClassAttribute $contentClassAttribute)
 {
     parent::__construct($contentClassAttribute);
     $this->maxLen = $contentClassAttribute->attribute(eZStringType::MAX_LEN_FIELD);
 }