lib/Cloudtek/DynamoDM/Mapping/ClassMetadata.php
public function setDiscriminatorDefaultValue($discriminatorDefaultValue)
    {
        if ($discriminatorDefaultValue !== null && !array_key_exists($discriminatorDefaultValue, $this->discriminatorMap)) {
            throw MappingException::invalidDiscriminatorValue($discriminatorDefaultValue, $this->name);
        }

        $this->discriminatorDefaultValue = $discriminatorDefaultValue;
    }
public function setDiscriminatorDefaultValue($discriminatorDefaultValue)
    {
        if ($discriminatorDefaultValue !== null && !array_key_exists($discriminatorDefaultValue, $this->discriminatorMap)) {
            throw MappingException::invalidDiscriminatorValue($discriminatorDefaultValue, $this->name);
        }

        $this->discriminatorDefaultValue = $discriminatorDefaultValue;
    }
public function setDiscriminatorDefaultValue ( $ discriminatorDefaultValue ) { if ( $ discriminatorDefaultValue !== null && ! array_key_exists ( $ discriminatorDefaultValue , $ this -> discriminatorMap ) ) { throw MappingException :: invalidDiscriminatorValue ( $ discriminatorDefaultValue , $ this -> name ) ; } $ this -> discriminatorDefaultValue = $ discriminatorDefaultValue ; }
Sets the default discriminator value to be used for this class
Used for JOINED and SINGLE_TABLE inheritance mapping strategies if the
document has no discriminator value

@param string $discriminatorDefaultValue

@throws MappingException
Sets the default discriminator value to be used for this class Used for JOINED and SINGLE_TABLE inheritance mapping strategies if the document has no discriminator value