PHP 클래스 GraphAware\Neo4j\OGM\Metadata\GraphEntityMetadata

상속: implements Doctrine\Common\Persistence\Mapping\ClassMetadata
파일 보기 프로젝트 열기: graphaware/neo4j-php-ogm 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$className string
$entityIdMetadata EntityIdMetadata
$entityPropertiesMetadata EntityPropertyMetadata[]
$reflectionClass ReflectionClass

공개 메소드들

메소드 설명
__construct ( EntityIdMetadata $entityIdMetadata, string $className, ReflectionClass $reflectionClass, array $entityPropertiesMetadata ) GraphEntityMetadata constructor.
getClassName ( ) : string
getFieldNames ( )
getIdValue ( $object ) : mixed
getIdentifier ( ) : string
getIdentifierFieldNames ( )
getIdentifierValues ( $object )
getName ( )
getPropertiesMetadata ( ) : EntityPropertyMetadata[]
getPropertyMetadata ( $key ) : EntityPropertyMetadata | null
getPropertyValuesArray ( object $object ) : array
getReflectionClass ( )
getTypeOfField ( $fieldName )
hasField ( $fieldName )
isIdentifier ( $fieldName )
newInstance ( ) : object
setId ( $object, $value )

메소드 상세

__construct() 공개 메소드

GraphEntityMetadata constructor.
public __construct ( EntityIdMetadata $entityIdMetadata, string $className, ReflectionClass $reflectionClass, array $entityPropertiesMetadata )
$entityIdMetadata EntityIdMetadata
$className string
$reflectionClass ReflectionClass
$entityPropertiesMetadata array

getClassName() 공개 메소드

public getClassName ( ) : string
리턴 string

getFieldNames() 공개 메소드

public getFieldNames ( )

getIdValue() 공개 메소드

public getIdValue ( $object ) : mixed
$object
리턴 mixed

getIdentifier() 공개 메소드

public getIdentifier ( ) : string
리턴 string

getIdentifierFieldNames() 공개 메소드

getIdentifierValues() 공개 메소드

public getIdentifierValues ( $object )

getName() 공개 메소드

public getName ( )

getPropertiesMetadata() 공개 메소드

public getPropertiesMetadata ( ) : EntityPropertyMetadata[]
리턴 EntityPropertyMetadata[]

getPropertyMetadata() 공개 메소드

public getPropertyMetadata ( $key ) : EntityPropertyMetadata | null
$key
리턴 EntityPropertyMetadata | null

getPropertyValuesArray() 공개 메소드

public getPropertyValuesArray ( object $object ) : array
$object object
리턴 array

getReflectionClass() 공개 메소드

public getReflectionClass ( )

getTypeOfField() 공개 메소드

public getTypeOfField ( $fieldName )

hasField() 공개 메소드

public hasField ( $fieldName )

isIdentifier() 공개 메소드

public isIdentifier ( $fieldName )

newInstance() 공개 메소드

public newInstance ( ) : object
리턴 object

setId() 공개 메소드

public setId ( $object, $value )
$object
$value

프로퍼티 상세

$className 보호되어 있는 프로퍼티

protected string $className
리턴 string

$entityIdMetadata 보호되어 있는 프로퍼티

protected EntityIdMetadata,GraphAware\Neo4j\OGM\Metadata $entityIdMetadata
리턴 EntityIdMetadata

$entityPropertiesMetadata 보호되어 있는 프로퍼티

protected EntityPropertyMetadata[],GraphAware\Neo4j\OGM\Metadata $entityPropertiesMetadata
리턴 EntityPropertyMetadata[]

$reflectionClass 보호되어 있는 프로퍼티

protected ReflectionClass $reflectionClass
리턴 ReflectionClass