ServiceType
in package
Class representing ServiceType.
XSD Type: serviceType
Table of Contents
- $serviceHeader : ServiceHeaderType|null
- $serviceItems : array<string|int, mixed>|null
- $serviceStates : array<string|int, mixed>|null
- $serviceSubject : ServiceSubjectType|null
- $serviceSummary : ServiceSummaryType|null
- $version : string|null
- addToServiceItems() : self
- Adds as item.
- addToServiceStates() : self
- Adds as state.
- getServiceHeader() : ServiceHeaderType
- Gets as serviceHeader.
- getServiceItems() : array<string|int, ItemType>
- Gets as serviceItems.
- getServiceStates() : array<string|int, StateType>
- Gets as serviceStates.
- getServiceSubject() : ServiceSubjectType
- Gets as serviceSubject.
- getServiceSummary() : ServiceSummaryType
- Gets as serviceSummary.
- getVersion() : string
- Gets as version.
- issetServiceItems() : bool
- isset serviceItems.
- issetServiceStates() : bool
- isset serviceStates.
- setServiceHeader() : self
- Sets a new serviceHeader.
- setServiceItems() : self
- Sets a new serviceItems.
- setServiceStates() : self
- Sets a new serviceStates.
- setServiceSubject() : self
- Sets a new serviceSubject.
- setServiceSummary() : self
- Sets a new serviceSummary.
- setVersion() : self
- Sets a new version.
- unsetServiceItems() : void
- unset serviceItems.
- unsetServiceStates() : void
- unset serviceStates.
Properties
$serviceHeader
private
ServiceHeaderType|null
$serviceHeader
= null
$serviceItems
private
array<string|int, mixed>|null
$serviceItems
= null
$serviceStates
private
array<string|int, mixed>|null
$serviceStates
= null
$serviceSubject
private
ServiceSubjectType|null
$serviceSubject
= null
$serviceSummary
private
ServiceSummaryType|null
$serviceSummary
= null
$version
private
string|null
$version
= null
Methods
addToServiceItems()
Adds as item.
public
addToServiceItems(ItemType $item) : self
Parameters
- $item : ItemType
Return values
self —addToServiceStates()
Adds as state.
public
addToServiceStates(StateType $state) : self
Parameters
- $state : StateType
Return values
self —getServiceHeader()
Gets as serviceHeader.
public
getServiceHeader() : ServiceHeaderType
Return values
ServiceHeaderType —getServiceItems()
Gets as serviceItems.
public
getServiceItems() : array<string|int, ItemType>
Return values
array<string|int, ItemType> —getServiceStates()
Gets as serviceStates.
public
getServiceStates() : array<string|int, StateType>
Return values
array<string|int, StateType> —getServiceSubject()
Gets as serviceSubject.
public
getServiceSubject() : ServiceSubjectType
Return values
ServiceSubjectType —getServiceSummary()
Gets as serviceSummary.
public
getServiceSummary() : ServiceSummaryType
Return values
ServiceSummaryType —getVersion()
Gets as version.
public
getVersion() : string
Return values
string —issetServiceItems()
isset serviceItems.
public
issetServiceItems(int|string $index) : bool
Parameters
- $index : int|string
Return values
bool —issetServiceStates()
isset serviceStates.
public
issetServiceStates(int|string $index) : bool
Parameters
- $index : int|string
Return values
bool —setServiceHeader()
Sets a new serviceHeader.
public
setServiceHeader(ServiceHeaderType $serviceHeader) : self
Parameters
- $serviceHeader : ServiceHeaderType
Return values
self —setServiceItems()
Sets a new serviceItems.
public
setServiceItems([array<string|int, ItemType> $serviceItems = null ]) : self
Parameters
- $serviceItems : array<string|int, ItemType> = null
Return values
self —setServiceStates()
Sets a new serviceStates.
public
setServiceStates([array<string|int, StateType> $serviceStates = null ]) : self
Parameters
- $serviceStates : array<string|int, StateType> = null
Return values
self —setServiceSubject()
Sets a new serviceSubject.
public
setServiceSubject(ServiceSubjectType $serviceSubject) : self
Parameters
- $serviceSubject : ServiceSubjectType
Return values
self —setServiceSummary()
Sets a new serviceSummary.
public
setServiceSummary([ServiceSummaryType|null $serviceSummary = null ]) : self
Parameters
- $serviceSummary : ServiceSummaryType|null = null
Return values
self —setVersion()
Sets a new version.
public
setVersion(string $version) : self
Parameters
- $version : string
Return values
self —unsetServiceItems()
unset serviceItems.
public
unsetServiceItems(int|string $index) : void
Parameters
- $index : int|string
Return values
void —unsetServiceStates()
unset serviceStates.
public
unsetServiceStates(int|string $index) : void
Parameters
- $index : int|string