PHP Class GraphAware\Neo4j\OGM\Metadata\RelationshipEntityMetadata

Inheritance: extends GraphEntityMetadata
Mostrar archivo Open project: graphaware/neo4j-php-ogm Class Usage Examples

Public Methods

Method Description
__construct ( string $class, ReflectionClass $reflectionClass, RelationshipEntity $annotation, EntityIdMetadata $entityIdMetadata, string $startNodeClass, $startNodeKey, string $endNodeClass, $endNodeKey, array $entityPropertiesMetadata ) RelationshipEntityMetadata constructor.
getAssociationMappedByTargetField ( $assocName )
getAssociationNames ( )
getAssociationTargetClass ( $assocName )
getEndNode ( )
getEndNodeProperty ( $object, $value )
getEndNodePropertyName ( )
getEndNodeValue ( $object )
getStartNode ( )
getStartNodePropertyName ( ) : string
getStartNodeValue ( $object )
getType ( ) : string
hasAssociation ( $fieldName )
isAssociationInverseSide ( $assocName )
isCollectionValuedAssociation ( $fieldName )
isSingleValuedAssociation ( $fieldName )
setEndNodeProperty ( $object, $value )
setStartNodeProperty ( $object, $value )

Method Details

__construct() public method

RelationshipEntityMetadata constructor.
public __construct ( string $class, ReflectionClass $reflectionClass, RelationshipEntity $annotation, EntityIdMetadata $entityIdMetadata, string $startNodeClass, $startNodeKey, string $endNodeClass, $endNodeKey, array $entityPropertiesMetadata )
$class string
$reflectionClass ReflectionClass
$annotation GraphAware\Neo4j\OGM\Annotations\RelationshipEntity
$entityIdMetadata EntityIdMetadata
$startNodeClass string
$endNodeClass string
$entityPropertiesMetadata array

getAssociationMappedByTargetField() public method

public getAssociationMappedByTargetField ( $assocName )

getAssociationNames() public method

public getAssociationNames ( )

getAssociationTargetClass() public method

public getAssociationTargetClass ( $assocName )

getEndNode() public method

public getEndNode ( )

getEndNodeProperty() public method

public getEndNodeProperty ( $object, $value )

getEndNodePropertyName() public method

getEndNodeValue() public method

public getEndNodeValue ( $object )

getStartNode() public method

public getStartNode ( )

getStartNodePropertyName() public method

public getStartNodePropertyName ( ) : string
return string

getStartNodeValue() public method

public getStartNodeValue ( $object )

getType() public method

public getType ( ) : string
return string

hasAssociation() public method

public hasAssociation ( $fieldName )

isAssociationInverseSide() public method

public isAssociationInverseSide ( $assocName )

isCollectionValuedAssociation() public method

public isCollectionValuedAssociation ( $fieldName )

isSingleValuedAssociation() public method

public isSingleValuedAssociation ( $fieldName )

setEndNodeProperty() public method

public setEndNodeProperty ( $object, $value )

setStartNodeProperty() public method

public setStartNodeProperty ( $object, $value )