original_string: public function getBaseTypeId()
      {
          $value = $this->getFirstValue(PropertyIds::BASE_TYPE_ID);
          if (is_string($value)) {
              try {
                  return BaseTypeId::cast($value);
              } catch (InvalidEnumerationValueException $e) {
                  // invalid base type -> return null
              }
          }
  
          return null;
      }
code: public function getBaseTypeId()
      {
          $value = $this->getFirstValue(PropertyIds::BASE_TYPE_ID);
          if (is_string($value)) {
              try {
                  return BaseTypeId::cast($value);
              } catch (InvalidEnumerationValueException $e) {
                  // invalid base type -> return null
              }
          }
  
          return null;
      }
code_tokens: public function getBaseTypeId ( ) { $ value = $ this -> getFirstValue ( PropertyIds :: BASE_TYPE_ID ) ; if ( is_string ( $ value ) ) { try { return BaseTypeId :: cast ( $ value ) ; } catch ( InvalidEnumerationValueException $ e ) { // invalid base type -> return null } } return null ; }
docstring: Returns the base object type.
  
  @return BaseTypeId|null the base object type or <code>null</code> if the base object type is unknown
docstring_tokens: Returns the base object type .