Utility/Serialization/AbstractEntity.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Intuit\Ipp\Utility\Serialization\AbstractEntity

Package: Default
Descirbes meta data for domain model entity
Children
\Intuit\Ipp\Utility\Serialization\UnknownEntity
\Intuit\Ipp\Utility\Serialization\SimpleEntity
\Intuit\Ipp\Utility\Serialization\ObjectEntity

Properties

>VPropertyprivatestring $class = null
Class of original defenition of the property
Default valuenullDetails
Type
string
>VPropertyprivatestring $name = null
Property name which it has in class
Default valuenullDetails
Type
string
>VPropertyprivatestring $type = null
Type (or class) of the entity
Default valuenullDetails
Type
string

Methods

methodpublic__construct(string $value = null) : void

Specify type of the property if it's known

Parameters
NameTypeDescription
$valuestring
methodpublicgetClass() : string

Returns class name where property were defined

Returns
TypeDescription
string
methodpublicgetName() : string

Returns current name

Returns
TypeDescription
string
methodpublicgetType() : string

Returns current type

Returns
TypeDescription
string
methodpublicsetClass(string $value) : void

Set original class, where property have been defined

Parameters
NameTypeDescription
$valuestring
methodpublicsetName(string $value) : void

Sets name of the property. This property should be available and accessable in specified type (class).

Parameters
NameTypeDescription
$valuestring
methodpublicsetType(string $value) : void

Sets type (or class) of the property. It will try to create an instance of this type.

Parameters
NameTypeDescription
$valuestring
Documentation was generated by phpDocumentor 2.8.5.