core/web/jsonld/OrganizationTrait.php
<?php
namespace luya\web\jsonld;
/**
* JsonLd - Organization trait
*
* @author Alex Schmid
* @since 1.0.0
*/
trait OrganizationTrait
{
private $_actionableFeedbackPolicy;
/**
* @return mixed
*/
public function getActionableFeedbackPolicy()
{
return $this->_actionableFeedbackPolicy;
}
/**
* For a NewsMediaOrganization or other news-related Organization,
* a statement about public engagement activities (for news media, the newsroom’s),
* including involving the public - digitally or otherwise
* -- in coverage decisions, reporting and activities after publication.
*
* @param mixed $actionableFeedbackPolicy
* @return static
*/
public function setActionableFeedbackPolicy($actionableFeedbackPolicy)
{
$this->_actionableFeedbackPolicy[] = $actionableFeedbackPolicy;
return $this;
}
private $_address;
/**
* @return mixed
*/
public function getAddress()
{
return $this->_address;
}
/**
* Physical address of the item.
*
* @param PostalAddress $address
* @return static
*/
public function setAddress(PostalAddress $address)
{
$this->_address = $address;
return $this;
}
private $_aggregateRating;
/**
* @return mixed
*/
public function getAggregateRating()
{
return $this->_aggregateRating;
}
/**
* The overall rating, based on a collection of reviews or ratings, of the item.
*
* @param mixed $aggregateRating
* @return static
*/
public function setAggregateRating(AggregateRating $aggregateRating)
{
$this->_aggregateRating = $aggregateRating;
return $this;
}
private $_alumni;
/**
* @return mixed
*/
public function getAlumni()
{
return $this->_alumni;
}
/**
* Alumni of an organization.
* Inverse property: alumniOf.
*
* @param mixed $alumni
* @return static
*/
public function setAlumni($alumni)
{
$this->_alumni[] = $alumni;
return $this;
}
private $_areaServed;
/**
* @return mixed
*/
public function getAreaServed()
{
return $this->_areaServed;
}
/**
* The geographic area where a service or offered item is provided. Supersedes serviceArea.
*
* @param mixed $areaServed
* @return static
*/
public function setAreaServed($areaServed)
{
$this->_areaServed[] = $areaServed;
return $this;
}
private $_award;
/**
* @return mixed
*/
public function getAward()
{
return $this->_award;
}
/**
* An award won by or for this item. Supersedes awards.
*
* @param mixed $award
* @return static
*/
public function setAward($award)
{
$this->_award[] = $award;
return $this;
}
private $_brand;
/**
* @return mixed
*/
public function getBrand()
{
return $this->_brand;
}
/**
* The brand(s) associated with a product or service,
* or the brand(s) maintained by an organization or business person.
*
* @param mixed $brand
* @return static
*/
public function setBrand($brand)
{
$this->_brand[] = $brand;
return $this;
}
private $_contactPoint;
/**
* @return mixed
*/
public function getContactPoint()
{
return $this->_contactPoint;
}
/**
* A contact point for a person or organization. Supersedes contactPoints.
*
* @param mixed $contactPoint
* @return static
*/
public function setContactPoint($contactPoint)
{
$this->_contactPoint[] = $contactPoint;
return $this;
}
private $_correctionsPolicy;
/**
* @return mixed
*/
public function getCorrectionsPolicy()
{
return $this->_correctionsPolicy;
}
/**
* For an Organization (e.g. NewsMediaOrganization),
* a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.
*
* @param mixed $correctionsPolicy
* @return static
*/
public function setCorrectionsPolicy($correctionsPolicy)
{
$this->_correctionsPolicy[] = $correctionsPolicy;
return $this;
}
private $_department;
/**
* @return mixed
*/
public function getDepartment()
{
return $this->_department;
}
/**
* A relationship between an organization and a department of that organization,
* also described as an organization (allowing different urls, logos, opening hours).
* For example: a store with a pharmacy, or a bakery with a cafe.
*
* @param mixed $department
* @return static
*/
public function setDepartment($department)
{
$this->_department[] = $department;
return $this;
}
private $_dissolutionDate;
/**
* @return mixed
*/
public function getDissolutionDate()
{
return $this->_dissolutionDate;
}
/**
* The date that this organization was dissolved.
*
* @param mixed $dissolutionDate
* @return static
*/
public function setDissolutionDate($dissolutionDate)
{
$this->_dissolutionDate[] = $dissolutionDate;
return $this;
}
private $_diversityPolicy;
/**
* @return mixed
*/
public function getDiversityPolicy()
{
return $this->_diversityPolicy;
}
/**
* Statement on diversity policy by an Organization e.g. a NewsMediaOrganization.
* For a NewsMediaOrganization, a statement describing the newsroom’s diversity policy on both staffing and sources,
* typically providing staffing data.
*
* @param mixed $diversityPolicy
* @return static
*/
public function setDiversityPolicy($diversityPolicy)
{
$this->_diversityPolicy[] = $diversityPolicy;
return $this;
}
private $_duns;
/**
* @return mixed
*/
public function getDuns()
{
return $this->_duns;
}
/**
* The Dun & Bradstreet DUNS number for identifying an organization or business person.
*
* @param mixed $duns
* @return static
*/
public function setDuns($duns)
{
$this->_duns[] = $duns;
return $this;
}
private $_email;
/**
* @return mixed
*/
public function getEmail()
{
return $this->_email;
}
/**
* Email address
*
* @param mixed $email
* @return static
*/
public function setEmail($email)
{
$this->_email[] = $email;
return $this;
}
private $_employee;
/**
* @return mixed
*/
public function getEmployee()
{
return $this->_employee;
}
/**
* Someone working for this organization.
* Supersedes employees.
*
* @param mixed $employee
* @return static
*/
public function setEmployee($employee)
{
$this->_employee[] = $employee;
return $this;
}
private $_ethicsPolicy;
/**
* @return mixed
*/
public function getEthicsPolicy()
{
return $this->_ethicsPolicy;
}
/**
* Statement about ethics policy, e.g. of a NewsMediaOrganization regarding journalistic and publishing practices,
* or of a Restaurant, a page describing food source policies. In the case of a NewsMediaOrganization,
* an ethicsPolicy is typically a statement describing the personal, organizational,
* and corporate standards of behavior expected by the organization.
*
* @param mixed $ethicsPolicy
* @return static
*/
public function setEthicsPolicy($ethicsPolicy)
{
$this->_ethicsPolicy[] = $ethicsPolicy;
return $this;
}
private $_event;
/**
* @return mixed
*/
public function getEvent()
{
return $this->_event;
}
/**
* Upcoming or past event associated with this place, organization, or action. Supersedes events.
*
* @param mixed $event
* @return static
*/
public function setEvent(Event $event)
{
$this->_event[] = $event;
return $this;
}
private $_faxNumber;
/**
* @return mixed
*/
public function getFaxNumber()
{
return $this->_faxNumber;
}
/**
* The fax number.
*
* @param mixed $faxNumber
* @return static
*/
public function setFaxNumber($faxNumber)
{
$this->_faxNumber[] = $faxNumber;
return $this;
}
private $_founder;
/**
* @return mixed
*/
public function getFounder()
{
return $this->_founder;
}
/**
* A person who founded this organization. Supersedes founders.
*
* @param mixed $founder
* @return static
*/
public function setFounder($founder)
{
$this->_founder[] = $founder;
return $this;
}
private $_foundingDate;
/**
* @return mixed
*/
public function getFoundingDate()
{
return $this->_foundingDate;
}
/**
* The date that this organization was founded.
*
* @param mixed $foundingDate
* @return static
*/
public function setFoundingDate($foundingDate)
{
$this->_foundingDate[] = $foundingDate;
return $this;
}
private $_foundingLocation;
/**
* @return mixed
*/
public function getFoundingLocation()
{
return $this->_foundingLocation;
}
/**
* The place where the Organization was founded.
*
* @param mixed $foundingLocation
* @return static
*/
public function setFoundingLocation($foundingLocation)
{
$this->_foundingLocation[] = $foundingLocation;
return $this;
}
private $_funder;
/**
* @return mixed
*/
public function getFunder()
{
return $this->_funder;
}
/**
* A person or organization that supports (sponsors) something through some kind of financial contribution.
*
* @param mixed $funder
* @return static
*/
public function setFunder($funder)
{
$this->_funder[] = $funder;
return $this;
}
private $_globalLocationNumber;
/**
* @return mixed
*/
public function getGlobalLocationNumber()
{
return $this->_globalLocationNumber;
}
/**
* The Global Location Number (GLN, sometimes also referred to as International Location Number or ILN)
* of the respective organization, person, or place.
* The GLN is a 13-digit number used to identify parties and physical locations.
*
* @param mixed $globalLocationNumber
* @return static
*/
public function setGlobalLocationNumber($globalLocationNumber)
{
$this->_globalLocationNumber[] = $globalLocationNumber;
return $this;
}
private $_hasOfferCatalog;
/**
* @return mixed
*/
public function getHasOfferCatalog()
{
return $this->_hasOfferCatalog;
}
/**
* Indicates an OfferCatalog listing for this Organization, Person, or Service.
*
* @param mixed $hasOfferCatalog
* @return static
*/
public function setHasOfferCatalog($hasOfferCatalog)
{
$this->_hasOfferCatalog[] = $hasOfferCatalog;
return $this;
}
private $_hasPOS;
/**
* @return mixed
*/
public function getHasPOS()
{
return $this->_hasPOS;
}
/**
* Points-of-Sales operated by the organization or person.
*
* @param mixed $hasPOS
* @return static
*/
public function setHasPOS($hasPOS)
{
$this->_hasPOS[] = $hasPOS;
return $this;
}
private $_isicV4;
/**
* @return mixed
*/
public function getIsicV4()
{
return $this->_isicV4;
}
/**
* The International Standard of Industrial Classification of All Economic Activities (ISIC),
* Revision 4 code for a particular organization, business person, or place.
*
* @param mixed $isicV4
* @return static
*/
public function setIsicV4($isicV4)
{
$this->_isicV4[] = $isicV4;
return $this;
}
private $_legalName;
/**
* @return mixed
*/
public function getLegalName()
{
return $this->_legalName;
}
/**
* The official name of the organization, e.g. the registered company name.
*
* @param mixed $legalName
* @return static
*/
public function setLegalName($legalName)
{
$this->_legalName[] = $legalName;
return $this;
}
private $_leiCode;
/**
* @return mixed
*/
public function getLeiCode()
{
return $this->_leiCode;
}
/**
* An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.
*
* @param mixed $leiCode
* @return static
*/
public function setLeiCode($leiCode)
{
$this->_leiCode[] = $leiCode;
return $this;
}
private $_location;
/**
* @return mixed
*/
public function getLocation()
{
return $this->_location;
}
/**
* The location of for example where the event is happening, an organization is located,
* or where an action takes place.
*
* @param mixed $location
* @return static
*/
public function setLocation($location)
{
$this->_location[] = $location;
return $this;
}
private $_logo;
/**
* @return mixed
*/
public function getLogo()
{
return $this->_logo;
}
/**
* An associated logo.
*
* @param ImageObject $logo
* @return static
*/
public function setLogo(ImageObject $logo)
{
$this->_logo[] = $logo;
return $this;
}
private $_makesOffer;
/**
* @return mixed
*/
public function getMakesOffer()
{
return $this->_makesOffer;
}
/**
* A pointer to products or services offered by the organization or person.
* Inverse property: offeredBy.
*
* @param mixed $makesOffer
* @return static
*/
public function setMakesOffer($makesOffer)
{
$this->_makesOffer[] = $makesOffer;
return $this;
}
private $_member;
/**
* @return mixed
*/
public function getMember()
{
return $this->_member;
}
/**
* A member of an Organization or a ProgramMembership.
* Organizations can be members of organizations; ProgramMembership is typically for individuals.
* Supersedes members, musicGroupMember.
* Inverse property: memberOf.
*
* @param mixed $member
* @return static
*/
public function setMember($member)
{
$this->_member[] = $member;
return $this;
}
private $_memberOf;
/**
* @return mixed
*/
public function getMemberOf()
{
return $this->_memberOf;
}
/**
* An Organization (or ProgramMembership) to which this Person or Organization belongs.
* Inverse property: member.
*
* @param mixed $memberOf
* @return static
*/
public function setMemberOf($memberOf)
{
$this->_memberOf[] = $memberOf;
return $this;
}
private $_naics;
/**
* @return mixed
*/
public function getNaics()
{
return $this->_naics;
}
/**
* The North American Industry Classification System (NAICS) code for a particular organization or business person.
*
* @param mixed $naics
* @return static
*/
public function setNaics($naics)
{
$this->_naics[] = $naics;
return $this;
}
private $_numberOfEmployees;
/**
* @return mixed
*/
public function getNumberOfEmployees()
{
return $this->_numberOfEmployees;
}
/**
* The number of employees in an organization e.g. business.
*
* @param mixed $numberOfEmployees
* @return static
*/
public function setNumberOfEmployees($numberOfEmployees)
{
$this->_numberOfEmployees[] = $numberOfEmployees;
return $this;
}
private $_owns;
/**
* @return mixed
*/
public function getOwns()
{
return $this->_owns;
}
/**
* Products owned by the organization or person.
*
* @param mixed $owns
* @return static
*/
public function setOwns($owns)
{
$this->_owns[] = $owns;
return $this;
}
private $_parentOrganization;
/**
* @return mixed
*/
public function getParentOrganization()
{
return $this->_parentOrganization;
}
/**
* The larger organization that this organization is a subOrganization of, if any.
* Supersedes branchOf.
* Inverse property: subOrganization.
*
* @param mixed $parentOrganization
* @return static
*/
public function setParentOrganization($parentOrganization)
{
$this->_parentOrganization[] = $parentOrganization;
return $this;
}
private $_publishingPrinciples;
/**
* @return mixed
*/
public function getPublishingPrinciples()
{
return $this->_publishingPrinciples;
}
/**
* The publishingPrinciples property indicates (typically via URL) a document describing the editorial principles
* of an Organization (or individual e.g. a Person writing a blog) that relate to their activities as a publisher,
* e.g. ethics or diversity policies. When applied to a CreativeWork (e.g. NewsArticle) the principles are those
* of the party primarily responsible for the creation of the CreativeWork.
*
* @param mixed $publishingPrinciples
* @return static
*/
public function setPublishingPrinciples($publishingPrinciples)
{
$this->_publishingPrinciples[] = $publishingPrinciples;
return $this;
}
private $_review;
/**
* @return mixed
*/
public function getReview()
{
return $this->_review;
}
/**
* A review of the item.
* Supersedes reviews.
*
* @param mixed $review
* @return static
*/
public function setReview(Review $review)
{
$this->_review[] = $review;
return $this;
}
private $_seeks;
/**
* @return mixed
*/
public function getSeeks()
{
return $this->_seeks;
}
/**
* A pointer to products or services sought by the organization or person (demand).
*
* @param mixed $seeks
* @return static
*/
public function setSeeks($seeks)
{
$this->_seeks[] = $seeks;
return $this;
}
private $_sponsor;
/**
* @return mixed
*/
public function getSponsor()
{
return $this->_sponsor;
}
/**
* A person or organization that supports a thing through a pledge, promise, or financial contribution. e.g.
*
* @param mixed $sponsor
* @return static
*/
public function setSponsor($sponsor)
{
$this->_sponsor[] = $sponsor;
return $this;
}
private $_subOrganization;
/**
* @return mixed
*/
public function getSubOrganization()
{
return $this->_subOrganization;
}
/**
* A relationship between two organizations where the first includes the second, e.g., as a subsidiary.
* See also: the more specific 'department' property.
* Inverse property: parentOrganization.
*
* @param mixed $subOrganization
* @return static
*/
public function setSubOrganization($subOrganization)
{
$this->_subOrganization[] = $subOrganization;
return $this;
}
private $_taxID;
/**
* @return mixed
*/
public function getTaxID()
{
return $this->_taxID;
}
/**
* The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.
*
* @param mixed $taxID
* @return static
*/
public function setTaxID($taxID)
{
$this->_taxID[] = $taxID;
return $this;
}
private $_telephone;
/**
* @return mixed
*/
public function getTelephone()
{
return $this->_telephone;
}
/**
* The telephone number.
*
* @param mixed $telephone
* @return static
*/
public function setTelephone($telephone)
{
$this->_telephone[] = $telephone;
return $this;
}
private $_unnamedSourcesPolicy;
/**
* @return mixed
*/
public function getUnnamedSourcesPolicy()
{
return $this->_unnamedSourcesPolicy;
}
/**
* For an Organization (typically a NewsMediaOrganization), a statement about policy on use of unnamed sources
* and the decision process required.
*
* @param mixed $unnamedSourcesPolicy
* @return static
*/
public function setUnnamedSourcesPolicy($unnamedSourcesPolicy)
{
$this->_unnamedSourcesPolicy[] = $unnamedSourcesPolicy;
return $this;
}
private $_vatID;
/**
* @return mixed
*/
public function getVatID()
{
return $this->_vatID;
}
/**
* The Value-added Tax ID of the organization or person.
*
* @param mixed $vatID
* @return static
*/
public function setVatID($vatID)
{
$this->_vatID[] = $vatID;
return $this;
}
}