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

파일 보기 프로젝트 열기: graphaware/neo4j-php-ogm 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $className, ReflectionProperty $reflectionProperty, Relationship $relationshipAnnotation, boolean $isLazy = false, OrderBy $orderBy = null )
addToCollection ( object $object, mixed $value )
addToCollectionAdvanced ( $object, $value, NodeEntityMetadata $valueMetadata )
getDirection ( ) : string
getMappedByProperty ( ) : string
getOrder ( ) : string
getOrderByPropery ( ) : string
getPropertyName ( ) : string
getReflectionProperty ( ) : ReflectionProperty
getRelationshipEntityClass ( ) : string
getTargetEntity ( ) : string
getType ( ) : string
getValue ( $object ) : mixed
hasMappedByProperty ( ) : boolean
hasOrderBy ( ) : boolean
initializeCollection ( $object )
isCollection ( ) : boolean
isLazy ( ) : boolean
isRelationshipEntity ( ) : boolean
setValue ( $object, $value )

메소드 상세

__construct() 공개 메소드

public __construct ( string $className, ReflectionProperty $reflectionProperty, Relationship $relationshipAnnotation, boolean $isLazy = false, OrderBy $orderBy = null )
$className string
$reflectionProperty ReflectionProperty
$relationshipAnnotation GraphAware\Neo4j\OGM\Annotations\Relationship
$isLazy boolean
$orderBy GraphAware\Neo4j\OGM\Annotations\OrderBy

addToCollection() 공개 메소드

public addToCollection ( object $object, mixed $value )
$object object
$value mixed

addToCollectionAdvanced() 공개 메소드

public addToCollectionAdvanced ( $object, $value, NodeEntityMetadata $valueMetadata )
$valueMetadata NodeEntityMetadata

getDirection() 공개 메소드

public getDirection ( ) : string
리턴 string

getMappedByProperty() 공개 메소드

public getMappedByProperty ( ) : string
리턴 string

getOrder() 공개 메소드

public getOrder ( ) : string
리턴 string

getOrderByPropery() 공개 메소드

public getOrderByPropery ( ) : string
리턴 string

getPropertyName() 공개 메소드

public getPropertyName ( ) : string
리턴 string

getReflectionProperty() 공개 메소드

public getReflectionProperty ( ) : ReflectionProperty
리턴 ReflectionProperty

getRelationshipEntityClass() 공개 메소드

getTargetEntity() 공개 메소드

public getTargetEntity ( ) : string
리턴 string

getType() 공개 메소드

public getType ( ) : string
리턴 string

getValue() 공개 메소드

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

hasMappedByProperty() 공개 메소드

public hasMappedByProperty ( ) : boolean
리턴 boolean

hasOrderBy() 공개 메소드

public hasOrderBy ( ) : boolean
리턴 boolean

initializeCollection() 공개 메소드

public initializeCollection ( $object )
$object

isCollection() 공개 메소드

public isCollection ( ) : boolean
리턴 boolean

isLazy() 공개 메소드

public isLazy ( ) : boolean
리턴 boolean

isRelationshipEntity() 공개 메소드

public isRelationshipEntity ( ) : boolean
리턴 boolean

setValue() 공개 메소드

public setValue ( $object, $value )
$object
$value