<commit_before><?php

namespace Edu\Cnm\PetRescueAbq;

require_once("autoload.php");


/**
 * Organization Class for PetRescueABQ
 *
 *
 *
 * @author <NAME> <<EMAIL>>
 * @version 0.1.0
 **/

	/**Class Organization
	 *@package Edu\Cnm\PetRescueAbq
	 **/
class Organization implements \JsonSerializable {
	/**
	 *id for this Organization; this is the primary key
	 * @var int $organizationId
	 **/
	private $organizationId;
	/*
	 * id of the Profile that administers the Organization; this is a foreign key.
	 * @var int $organizationProfileId
	 **/
	private $organizationProfileId;
	/*
	 * Token handed out to verify that the Organization is valid and not malicious.
	 * @var $organizationActivationToken
	 **/
	private $organizationActivationToken;
	/*
	 * Primary address line of the organization profile.
	 * @var string $organizationAddress1
	 **/
	private $organizationAddress1;
	/*
	 * Secondary address line of the organization profile. (optional)
	 * @var string $organizationAddress2
	 **/
	private $organizationAddress2;
	/*
	 * City for address of the organization profile.
	 * @var string $organizationCity
	 **/
	private $organizationCity;
	/*
	 * Email address of the organization profile.
	 * @var string $organizationEmail
	 **/
	private $organizationEmail;
	/*
	 * Official City License to operate of the organization. This is a unique index.
	 * @var string $organizationLicense
	 **/
	private $organizationLicense;
	/*
	 * Official name of the organization. This is a unique index.
	 * @var string $organizationName
	 **/
	private $organizationName;
	/*
	 * Phone number of the organization.
	 * @var string $organizationPhone
	 **/
	private $organizationPhone;
	/*
	 * State for address of the organization profile.
	 * @var string $organizationState
	 **/
	private $organizationState;
	/*
	 * Zip code for address of the organization profile.
	 * @var string $organizationZip
	 **/
	private $organizationZip;
	/*
	 * Constructor for this Organization
	 * @param int|null $newOrganizationId id of this Organization or null if a new Organization
	 * @param int $newOrganizationProfileId id of the Profile that administers the Organization's profile and posts.
	 * @param char|null $newOrganizationActivationToken activation token to authorize the use of the organization profile.
	 * @param string $newOrganizationAddress1 Primary address line of the Organization.
	 * @param string $newOrganizationAddress2 Secondary address line of the Organization.
	 * @param string $newOrganizationCity City for address of the Organization.
	 * @param string $newOrganizationEmail Email of the Organization.
	 * @param string $newOrganizationLicense License of the Organization.
	 * @param string $newOrganizationName Official name of the Organization.
	 * @param string $newOrganizationPhone Phone number of the Organization.
	 * @param char $newOrganizationState State for address of the Organization.
	 * @param char $newOrganizationZip Zip code for address of the Organization.
	 * @throws \InvalidArgumentException if data types are not valid
	 * @throws \RangeException if data values are out of bounds (e.g., strings too long, negative integers)
	 * @throws \TypeError if data types violate type hints
	 * @throws \Exception if some other exception occurs
	 *@Documentation https://php.net/manual/en/language.oop5.decon.php
	 * */
	public function __construct(?int $newOrganizationId, ?int $newOrganizationProfileId, ?string $newOrganizationActivationToken, string $newOrganizationAddress1, ?string $newOrganizationAddress2, string $newOrganizationCity, string $newOrganizationEmail, string $newOrganizationLicense, string $newOrganizationName, string $newOrganizationPhone, string $newOrganizationState, string $newOrganizationZip) {
		try {
			$this->setOrganizationId($newOrganizationId);
			$this->setOrganizationProfileId($newOrganizationProfileId);
			$this->setOrganizationActivationToken($newOrganizationActivationToken);
			$this->setOrganizationAddress1($newOrganizationAddress1);
			$this->setOrganizationAddress2($newOrganizationAddress2);
			$this->setOrganizationCity($newOrganizationCity);
			$this->setOrganizationEmail($newOrganizationEmail);
			$this->setOrganizationLicense($newOrganizationLicense);
			$this->setOrganizationName($newOrganizationName);
			$this->setOrganizationPhone($newOrganizationPhone);
			$this->setOrganizationState($newOrganizationState);
			$this->setOrganizationZip($newOrganizationZip);
		} catch(\InvalidArgumentException | \RangeException | \Exception | \TypeError $exception) {
			//determine what exception type was thrown
			$exceptionType = get_class($exception);
			throw(new $exceptionType($exception->getMessage(), 0, $exception));
		}
	}
	/**
	 * accessor method for organization id
	 *
	 * @return int value of organization id (or null if new Organization)
	 **/
	public function getOrganizationId(): int {
		return ($this->organizationId);
	}
	/**
	 * mutator method for organization id
	 *<commit_msg>repair error on org class line 101<commit_after><?php

namespace Edu\Cnm\PetRescueAbq;

require_once("autoload.php");


/**
 * Organization Class for PetRescueABQ
 *
 *
 *
 * @author <NAME> <<EMAIL>>
 * @version 0.1.0
 **/

	/**Class Organization
	 *@package Edu\Cnm\PetRescueAbq
	 **/
class Organization implements \JsonSerializable {
	/**
	 *id for this Organization; this is the primary key
	 * @var int $organizationId
	 **/
	private $organizationId;
	/*
	 * id of the Profile that administers the Organization; this is a foreign key.
	 * @var int $organizationProfileId
	 **/
	private $organizationProfileId;
	/*
	 * Token handed out to verify that the Organization is valid and not malicious.
	 * @var $organizationActivationToken
	 **/
	private $organizationActivationToken;
	/*
	 * Primary address line of the organization profile.
	 * @var string $organizationAddress1
	 **/
	private $organizationAddress1;
	/*
	 * Secondary address line of the organization profile. (optional)
	 * @var string $organizationAddress2
	 **/
	private $organizationAddress2;
	/*
	 * City for address of the organization profile.
	 * @var string $organizationCity
	 **/
	private $organizationCity;
	/*
	 * Email address of the organization profile.
	 * @var string $organizationEmail
	 **/
	private $organizationEmail;
	/*
	 * Official City License to operate of the organization. This is a unique index.
	 * @var string $organizationLicense
	 **/
	private $organizationLicense;
	/*
	 * Official name of the organization. This is a unique index.
	 * @var string $organizationName
	 **/
	private $organizationName;
	/*
	 * Phone number of the organization.
	 * @var string $organizationPhone
	 **/
	private $organizationPhone;
	/*
	 * State for address of the organization profile.
	 * @var string $organizationState
	 **/
	private $organizationState;
	/*
	 * Zip code for address of the organization profile.
	 * @var string $organizationZip
	 **/
	private $organizationZip;
	/*
	 * Constructor for this Organization
	 * @param int|null $newOrganizationId id of this Organization or null if a new Organization
	 * @param int $newOrganizationProfileId id of the Profile that administers the Organization's profile and posts.
	 * @param char|null $newOrganizationActivationToken activation token to authorize the use of the organization profile.
	 * @param string $newOrganizationAddress1 Primary address line of the Organization.
	 * @param string $newOrganizationAddress2 Secondary address line of the Organization.
	 * @param string $newOrganizationCity City for address of the Organization.
	 * @param string $newOrganizationEmail Email of the Organization.
	 * @param string $newOrganizationLicense License of the Organization.
	 * @param string $newOrganizationName Official name of the Organization.
	 * @param string $newOrganizationPhone Phone number of the Organization.
	 * @param char $newOrganizationState State for address of the Organization.
	 * @param char $newOrganizationZip Zip code for address of the Organization.
	 * @throws \InvalidArgumentException if data types are not valid
	 * @throws \RangeException if data values are out of bounds (e.g., strings too long, negative integers)
	 * @throws \TypeError if data types violate type hints
	 * @throws \Exception if some other exception occurs
	 *@Documentation https://php.net/manual/en/language.oop5.decon.php
	 * */
	public function __construct(?int $newOrganizationId, int $newOrganizationProfileId, ?string $newOrganizationActivationToken, string $newOrganizationAddress1, ?string $newOrganizationAddress2, string $newOrganizationCity, string $newOrganizationEmail, string $newOrganizationLicense, string $newOrganizationName, string $newOrganizationPhone, string $newOrganizationState, string $newOrganizationZip) {
		try {
			$this->setOrganizationId($newOrganizationId);
			$this->setOrganizationProfileId($newOrganizationProfileId);
			$this->setOrganizationActivationToken($newOrganizationActivationToken);
			$this->setOrganizationAddress1($newOrganizationAddress1);
			$this->setOrganizationAddress2($newOrganizationAddress2);
			$this->setOrganizationCity($newOrganizationCity);
			$this->setOrganizationEmail($newOrganizationEmail);
			$this->setOrganizationLicense($newOrganizationLicense);
			$this->setOrganizationName($newOrganizationName);
			$this->setOrganizationPhone($newOrganizationPhone);
			$this->setOrganizationState($newOrganizationState);
			$this->setOrganizationZip($newOrganizationZip);
		} catch(\InvalidArgumentException | \RangeException | \Exception | \TypeError $exception) {
			//determine what exception type was thrown
			$exceptionType = get_class($exception);
			throw(new $exceptionType($exception->getMessage(), 0, $exception));
		}
	}
	/**
	 * accessor method for organization id
	 *
	 * @return int value of organization id (or null if new Organization)
	 **/
	public function getOrganizationId(): int {
		return ($this->organizationId);
	}
	/**
	 * mutator method for organization id
	 *
{'fraction_non_alphanumeric': 0.09281557294802328, 'fraction_numerical': 0.003712622917920931, 'mean_word_length': 4.852613035819143, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 37, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2947286', 'n_tokens_mistral': 2834, 'n_tokens_neox': 2548, 'n_words': 864}