PHP Class GraphAware\Neo4j\OGM\Metadata\NodeEntityMetadata

Inheritance: extends GraphEntityMetadata
Afficher le fichier Open project: graphaware/neo4j-php-ogm Class Usage Examples

Protected Properties

Свойство Type Description
$labeledPropertiesMetadata LabeledPropertyMetadata[]
$relationships RelationshipMetadata[]

Méthodes publiques

Méthode 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 méthode

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 méthode

public getAssociatedObjects ( ) : array
Résultat array

getAssociationMappedByTargetField() public méthode

public getAssociationMappedByTargetField ( $assocName )

getAssociationNames() public méthode

public getAssociationNames ( )

getAssociationTargetClass() public méthode

public getAssociationTargetClass ( $assocName )

getLabel() public méthode

public getLabel ( ) : string
Résultat string

getLabeledProperties() public méthode

public getLabeledProperties ( ) : LabeledPropertyMetadata[]
Résultat LabeledPropertyMetadata[]

getLabeledPropertiesToBeSet() public méthode

public getLabeledPropertiesToBeSet ( $object ) : LabeledPropertyMetadata[]
$object
Résultat LabeledPropertyMetadata[]

getLabeledProperty() public méthode

public getLabeledProperty ( $key ) : LabeledPropertyMetadata
$key
Résultat LabeledPropertyMetadata

getLazyRelationships() public méthode

public getLazyRelationships ( $andRelEntities = false ) : RelationshipMetadata[]
Résultat RelationshipMetadata[]

getNonLazyRelationships() public méthode

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

getRelationship() public méthode

public getRelationship ( $key ) : RelationshipMetadata
$key
Résultat RelationshipMetadata

getRelationshipEntities() public méthode

public getRelationshipEntities ( ) : RelationshipMetadata[] | RelationshipEntityMetadata[]
Résultat RelationshipMetadata[] | RelationshipEntityMetadata[]

getRelationships() public méthode

public getRelationships ( ) : RelationshipMetadata[]
Résultat RelationshipMetadata[]

getRepositoryClass() public méthode

public getRepositoryClass ( ) : string
Résultat string

getSimpleRelationships() public méthode

public getSimpleRelationships ( $andLazy = true ) : RelationshipMetadata[]
Résultat RelationshipMetadata[]

hasAssociation() public méthode

public hasAssociation ( $fieldName )

hasCustomRepository() public méthode

public hasCustomRepository ( ) : boolean
Résultat boolean

isAssociationInverseSide() public méthode

public isAssociationInverseSide ( $assocName )

isCollectionValuedAssociation() public méthode

public isCollectionValuedAssociation ( $fieldName )

isSingleValuedAssociation() public méthode

public isSingleValuedAssociation ( $fieldName )

Property Details

$labeledPropertiesMetadata protected_oe property

protected LabeledPropertyMetadata[],GraphAware\Neo4j\OGM\Metadata $labeledPropertiesMetadata
Résultat LabeledPropertyMetadata[]

$relationships protected_oe property

protected RelationshipMetadata[],GraphAware\Neo4j\OGM\Metadata $relationships
Résultat RelationshipMetadata[]