xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for CompetencySharedDomainPropertyBase StructType
* @subpackage Structs
*/
abstract class CompetencySharedDomainPropertyBase extends Entity
{
/**
* The Id
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Id;
/**
* The ActivityId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $ActivityId;
/**
* The Activity
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var Activity
*/
public $Activity;
/**
* The DomainId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $DomainId;
/**
* The Domain
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var Domain
*/
public $Domain;
/**
* Constructor method for CompetencySharedDomainPropertyBase
* @uses CompetencySharedDomainPropertyBase::setId()
* @uses CompetencySharedDomainPropertyBase::setActivityId()
* @uses CompetencySharedDomainPropertyBase::setActivity()
* @uses CompetencySharedDomainPropertyBase::setDomainId()
* @uses CompetencySharedDomainPropertyBase::setDomain()
* @param string $id
* @param string $activityId
* @param Activity $activity
* @param string $domainId
* @param Domain $domain
*/
public function __construct($id = null, $activityId = null, Activity $activity = null, $domainId = null, Domain $domain = null)
{
$this
->setId($id)
->setActivityId($activityId)
->setActivity($activity)
->setDomainId($domainId)
->setDomain($domain);
}
/**
* Get Id value
* @return string|null
*/
public function getId()
{
return $this->Id;
}
/**
* Set Id value
* @param string $id
* @return CompetencySharedDomainPropertyBase
*/
public function setId($id = null)
{
// validation for constraint: string
if (!is_null($id) && !is_string($id)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($id)), __LINE__);
}
$this->Id = $id;
return $this;
}
/**
* Get ActivityId value
* @return string|null
*/
public function getActivityId()
{
return $this->ActivityId;
}
/**
* Set ActivityId value
* @param string $activityId
* @return CompetencySharedDomainPropertyBase
*/
public function setActivityId($activityId = null)
{
// validation for constraint: string
if (!is_null($activityId) && !is_string($activityId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($activityId)), __LINE__);
}
$this->ActivityId = $activityId;
return $this;
}
/**
* Get Activity value
* @return Activity|null
*/
public function getActivity()
{
return $this->Activity;
}
/**
* Set Activity value
* @param Activity $activity
* @return CompetencySharedDomainPropertyBase
*/
public function setActivity(Activity $activity = null)
{
$this->Activity = $activity;
return $this;
}
/**
* Get DomainId value
* @return string|null
*/
public function getDomainId()
{
return $this->DomainId;
}
/**
* Set DomainId value
* @param string $domainId
* @return CompetencySharedDomainPropertyBase
*/
public function setDomainId($domainId = null)
{
// validation for constraint: string
if (!is_null($domainId) && !is_string($domainId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($domainId)), __LINE__);
}
$this->DomainId = $domainId;
return $this;
}
/**
* Get Domain value
* @return Domain|null
*/
public function getDomain()
{
return $this->Domain;
}
/**
* Set Domain value
* @param Domain $domain
* @return CompetencySharedDomainPropertyBase
*/
public function setDomain(Domain $domain = null)
{
$this->Domain = $domain;
return $this;
}
/**
* Method called when an object has been exported with var_export() functions
* It allows to return an object instantiated with the values
* @see AbstractStructBase::__set_state()
* @uses AbstractStructBase::__set_state()
* @param array $array the exported values
* @return CompetencySharedDomainPropertyBase
*/
public static function __set_state(array $array)
{
return parent::__set_state($array);
}
/**
* Method returning the class name
* @return string __CLASS__
*/
public function __toString()
{
return __CLASS__;
}
}
Don't be shy, don't hesitate to contact us for any subject, we'll be glad to help.
This platform is provided to give developpers and non developpers a way to easily consume SOAP Web Services or share their own SOAP Web Services with extra features powered by the platform.
© 2025 Providr.IO