PHP Class GraphAware\Neo4j\OGM\Metadata\NodeEntityMetadata

Inheritance: extends GraphEntityMetadata
Datei anzeigen Open project: graphaware/neo4j-php-ogm Class Usage Examples

Protected Properties

Property Type Description
$labeledPropertiesMetadata LabeledPropertyMetadata[]
$relationships RelationshipMetadata[]

Public Methods

Method Description
__construct ( EntityIdMetadata $className, ReflectionClass $reflectionClass, NodeAnnotationMetadata $nodeAnnotationMetadata, EntityIdMetadata $entityIdMetadata, array $entityPropertiesMetadata, array $simpleRelationshipsMetadata ) NodeEntityMetadata constructor.
getAssociatedObjects ( ) : array
getAssociationMappedByTargetField ( $assocName )
getAssociationNames ( )
getAssociationTargetClass ( $assocName )
getLabel ( ) : string
getLabeledProperties ( ) : LabeledPropertyMetadata[]
getLabeledPropertiesToBeSet ( $object ) : LabeledPropertyMetadata[]
getLabeledProperty ( $key ) : LabeledPropertyMetadata
getLazyRelationships ( $andRelEntities = false ) : RelationshipMetadata[]
getNonLazyRelationships ( ) : RelationshipMetadata[] Returns non-lazy relationships.
getRelationship ( $key ) : RelationshipMetadata
getRelationshipEntities ( ) : RelationshipMetadata[] | RelationshipEntityMetadata[]
getRelationships ( ) : RelationshipMetadata[]
getRepositoryClass ( ) : string
getSimpleRelationships ( $andLazy = true ) : RelationshipMetadata[]
hasAssociation ( $fieldName )
hasCustomRepository ( ) : boolean
isAssociationInverseSide ( $assocName )
isCollectionValuedAssociation ( $fieldName )
isSingleValuedAssociation ( $fieldName )

Method Details

__construct() public method

NodeEntityMetadata constructor.
public __construct ( EntityIdMetadata $className, ReflectionClass $reflectionClass, NodeAnnotationMetadata $nodeAnnotationMetadata, EntityIdMetadata $entityIdMetadata, array $entityPropertiesMetadata, array $simpleRelationshipsMetadata )
$className EntityIdMetadata
$reflectionClass ReflectionClass
$nodeAnnotationMetadata NodeAnnotationMetadata
$entityIdMetadata EntityIdMetadata
$entityPropertiesMetadata array
$simpleRelationshipsMetadata array

getAssociatedObjects() public method

public getAssociatedObjects ( ) : array
return array

getAssociationMappedByTargetField() public method

public getAssociationMappedByTargetField ( $assocName )

getAssociationNames() public method

public getAssociationNames ( )

getAssociationTargetClass() public method

public getAssociationTargetClass ( $assocName )

getLabel() public method

public getLabel ( ) : string
return string

getLabeledProperties() public method

public getLabeledProperties ( ) : LabeledPropertyMetadata[]
return LabeledPropertyMetadata[]

getLabeledPropertiesToBeSet() public method

public getLabeledPropertiesToBeSet ( $object ) : LabeledPropertyMetadata[]
$object
return LabeledPropertyMetadata[]

getLabeledProperty() public method

public getLabeledProperty ( $key ) : LabeledPropertyMetadata
$key
return LabeledPropertyMetadata

getLazyRelationships() public method

public getLazyRelationships ( $andRelEntities = false ) : RelationshipMetadata[]
return RelationshipMetadata[]

getNonLazyRelationships() public method

Note that currently relationships that are not of type "collection" are considered non-lazy.
public getNonLazyRelationships ( ) : RelationshipMetadata[]
return RelationshipMetadata[]

getRelationship() public method

public getRelationship ( $key ) : RelationshipMetadata
$key
return RelationshipMetadata

getRelationshipEntities() public method

public getRelationshipEntities ( ) : RelationshipMetadata[] | RelationshipEntityMetadata[]
return RelationshipMetadata[] | RelationshipEntityMetadata[]

getRelationships() public method

public getRelationships ( ) : RelationshipMetadata[]
return RelationshipMetadata[]

getRepositoryClass() public method

public getRepositoryClass ( ) : string
return string

getSimpleRelationships() public method

public getSimpleRelationships ( $andLazy = true ) : RelationshipMetadata[]
return RelationshipMetadata[]

hasAssociation() public method

public hasAssociation ( $fieldName )

hasCustomRepository() public method

public hasCustomRepository ( ) : boolean
return boolean

isAssociationInverseSide() public method

public isAssociationInverseSide ( $assocName )

isCollectionValuedAssociation() public method

public isCollectionValuedAssociation ( $fieldName )

isSingleValuedAssociation() public method

public isSingleValuedAssociation ( $fieldName )

Property Details

$labeledPropertiesMetadata protected_oe property

protected LabeledPropertyMetadata[],GraphAware\Neo4j\OGM\Metadata $labeledPropertiesMetadata
return LabeledPropertyMetadata[]

$relationships protected_oe property

protected RelationshipMetadata[],GraphAware\Neo4j\OGM\Metadata $relationships
return RelationshipMetadata[]