src/POData/Writers/Metadata/MetadataAssociationTypeSet.php
/**
     * Populate association set and type for the given resource (entity) set
     * 
     * @param ResourceSetWrapper $resourceSetWrapper The resource set to inspect
     * 
     * @return void
     * 
     * @throws InvalidOperationException If IDSMP::getDerivedTypes 
     * returns invalid type
     */
Populate association set and type for the given resource (entity) set

@param ResourceSetWrapper $resourceSetWrapper The resource set to inspect

@return void

@throws InvalidOperationException If IDSMP::getDerivedTypes
returns invalid type
Populate association set and type for the given resource ( entity ) set @param ResourceSetWrapper $resourceSetWrapper The resource set to inspect @return void @throws InvalidOperationException If IDSMP :: getDerivedTypes returns invalid type
private function _populateAssociationForSet(ResourceSetWrapper $resourceSetWrapper)
    {
        $derivedTypes = $this->providersWrapper->getDerivedTypes($resourceSetWrapper->getResourceType());
        foreach ($derivedTypes as $derivedType) {
            $this->_populateAssociationForSetAndType($resourceSetWrapper, $derivedType);
        }
        $resourceType = $resourceSetWrapper->getResourceType();
        while ($resourceType != null) {
            $this->_populateAssociationForSetAndType($resourceSetWrapper, $resourceType);
            $resourceType = $resourceType->getBaseType();
        }
    }
private function _populateAssociationForSet ( ResourceSetWrapper $ resourceSetWrapper ) { $ derivedTypes = $ this -> providersWrapper -> getDerivedTypes ( $ resourceSetWrapper -> getResourceType ( ) ) ; foreach ( $ derivedTypes as $ derivedType ) { $ this -> _populateAssociationForSetAndType ( $ resourceSetWrapper , $ derivedType ) ; } $ resourceType = $ resourceSetWrapper -> getResourceType ( ) ; while ( $ resourceType != null ) { $ this -> _populateAssociationForSetAndType ( $ resourceSetWrapper , $ resourceType ) ; $ resourceType = $ resourceType -> getBaseType ( ) ; } }
Populate association set and type for the given resource (entity) set
Populate association set and type for the given resource ( entity ) set
//Populate ResourceAssociationSet and ResourceAssociationType for derived types //Populate ResourceAssociationSet and ResourceAssociationType  //for this type and base types