public function checkSecondaryConstraints()
    {
        $this->is_hashed = $this->checkSecondaryRelationship($this->table_descriptor->getStorageName() . '_hash');
        $this->is_keyed = $this->checkSecondaryRelationship($this->table_descriptor->getStorageName() . '_key');
        $this->is_ordered = $this->checkSecondaryRelationship($this->table_descriptor->getStorageName() . '_order');

        $this->is_customer_foreign = $this->checkSecondaryRelationship(NABU_CUSTOMER_FIELD_ID);
        $this->is_commerce_foreign = $this->checkSecondaryRelationship(NABU_COMMERCE_FIELD_ID);
        $this->is_catalog_foreign = $this->checkSecondaryRelationship(NABU_CATALOG_FIELD_ID);
        $this->is_site_foreign = $this->checkSecondaryRelationship(NABU_SITE_FIELD_ID);
        $this->is_site_target_foreign = $this->checkSecondaryRelationship(NABU_SITE_TARGET_FIELD_ID);
        $this->is_medioteca_foreign = $this->checkSecondaryRelationship(NABU_MEDIOTECA_FIELD_ID);
        $this->is_messaging_foreign = $this->checkSecondaryRelationship(NABU_MESSAGING_FIELD_ID);
        $this->is_messaging_service_foreign = $this->checkSecondaryRelationship(NABU_MESSAGING_SERVICE_FIELD_ID);
        $this->is_project_foreign = $this->checkSecondaryRelationship(NABU_PROJECT_FIELD_ID);
        $this->is_role_foreign = $this->checkSecondaryRelationship(NABU_ROLE_FIELD_ID);
    }
public function checkSecondaryConstraints()
    {
        $this->is_hashed = $this->checkSecondaryRelationship($this->table_descriptor->getStorageName() . '_hash');
        $this->is_keyed = $this->checkSecondaryRelationship($this->table_descriptor->getStorageName() . '_key');
        $this->is_ordered = $this->checkSecondaryRelationship($this->table_descriptor->getStorageName() . '_order');

        $this->is_customer_foreign = $this->checkSecondaryRelationship(NABU_CUSTOMER_FIELD_ID);
        $this->is_commerce_foreign = $this->checkSecondaryRelationship(NABU_COMMERCE_FIELD_ID);
        $this->is_catalog_foreign = $this->checkSecondaryRelationship(NABU_CATALOG_FIELD_ID);
        $this->is_site_foreign = $this->checkSecondaryRelationship(NABU_SITE_FIELD_ID);
        $this->is_site_target_foreign = $this->checkSecondaryRelationship(NABU_SITE_TARGET_FIELD_ID);
        $this->is_medioteca_foreign = $this->checkSecondaryRelationship(NABU_MEDIOTECA_FIELD_ID);
        $this->is_messaging_foreign = $this->checkSecondaryRelationship(NABU_MESSAGING_FIELD_ID);
        $this->is_messaging_service_foreign = $this->checkSecondaryRelationship(NABU_MESSAGING_SERVICE_FIELD_ID);
        $this->is_project_foreign = $this->checkSecondaryRelationship(NABU_PROJECT_FIELD_ID);
        $this->is_role_foreign = $this->checkSecondaryRelationship(NABU_ROLE_FIELD_ID);
    }
public function checkSecondaryConstraints ( ) { $ this -> is_hashed = $ this -> checkSecondaryRelationship ( $ this -> table_descriptor -> getStorageName ( ) . '_hash' ) ; $ this -> is_keyed = $ this -> checkSecondaryRelationship ( $ this -> table_descriptor -> getStorageName ( ) . '_key' ) ; $ this -> is_ordered = $ this -> checkSecondaryRelationship ( $ this -> table_descriptor -> getStorageName ( ) . '_order' ) ; $ this -> is_customer_foreign = $ this -> checkSecondaryRelationship ( NABU_CUSTOMER_FIELD_ID ) ; $ this -> is_commerce_foreign = $ this -> checkSecondaryRelationship ( NABU_COMMERCE_FIELD_ID ) ; $ this -> is_catalog_foreign = $ this -> checkSecondaryRelationship ( NABU_CATALOG_FIELD_ID ) ; $ this -> is_site_foreign = $ this -> checkSecondaryRelationship ( NABU_SITE_FIELD_ID ) ; $ this -> is_site_target_foreign = $ this -> checkSecondaryRelationship ( NABU_SITE_TARGET_FIELD_ID ) ; $ this -> is_medioteca_foreign = $ this -> checkSecondaryRelationship ( NABU_MEDIOTECA_FIELD_ID ) ; $ this -> is_messaging_foreign = $ this -> checkSecondaryRelationship ( NABU_MESSAGING_FIELD_ID ) ; $ this -> is_messaging_service_foreign = $ this -> checkSecondaryRelationship ( NABU_MESSAGING_SERVICE_FIELD_ID ) ; $ this -> is_project_foreign = $ this -> checkSecondaryRelationship ( NABU_PROJECT_FIELD_ID ) ; $ this -> is_role_foreign = $ this -> checkSecondaryRelationship ( NABU_ROLE_FIELD_ID ) ; }
Check if secondary constraints exists and they are related with main entities of Nabu.
Check if secondary constraints exists and they are related with main entities of Nabu .